-
Notifications
You must be signed in to change notification settings - Fork 40
stuck in generate csv file #41
Comments
@dipenpatel235 it may be that the R sub-process is spawned for a different user. Can you try getting your username within R code (e.g. using whoami)? |
i am executing php file as root user.
…On Wed, Aug 1, 2018 at 2:52 PM Alexander Kachkaev ***@***.***> wrote:
@dipenpatel235 <https://github.com/dipenpatel235> it may be that the R
sub-process is spawned for a different user. Can you try getting your
username within R code (e.g. using whoami
<https://github.com/r-lib/whoami>)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHwhuW_YrzzqKcGvn6E44Pb6Jqi9cnDVks5uMXNWgaJpZM4Vp6fn>
.
--
Thanks & Regards
Dipen Patel
Mo : +91 9909013212
email:[email protected] <Email%[email protected]>
|
seems below code also not executing... |
What does the error say? |
This comment has been minimized.
This comment has been minimized.
not getting error...
so not getting any idea
it is stuck in that and that file content is same as paste in past .
here below screenshot is i am executing php file
…On Wed, Aug 1, 2018 at 4:51 PM Dipen Patel ***@***.***> wrote:
not getting error...
i
so not getting any idea
On Wed, Aug 1, 2018 at 4:16 PM Alexander Kachkaev <
***@***.***> wrote:
> What does the error say?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#41 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AHwhuYVR6iIqcGGgQOAriXZZS6-JNdo9ks5uMYccgaJpZM4Vp6fn>
> .
>
--
Thanks & Regards
Dipen Patel
Mo : +91 9909013212
***@***.*** ***@***.***>
--
Thanks & Regards
Dipen Patel
Mo : +91 9909013212
email:[email protected] <Email%[email protected]>
|
If the process halts and then timeouts, the problem may be to do with I/O between PHP and R then. This was once fixed in #35, but may be ongoing. Unfortunately, I'm not sure how to fix this if I/O is the cause as this is too low-level for me. Feel free to try inspecting what gets stuck and submit a PR if you notice a bug. Most likely, the issue with I/O will be come from https://github.com/kachkaev/php-r/blob/master/src/Kachkaev/PHPR/Process/CommandLineRProcess.php. |
ok... Thanks |
Hello..
Below sample code in it is not able to write in csv file. (yes already root user and permission)
so can you try that sample code and check it working or not ?
sapereate R code is working fine.
Only issue is when i put that saperate code with php and your library then it is not working.
Below is sample code used by me.
https://pastebin.com/raw/8xw0Af2q
The text was updated successfully, but these errors were encountered: