Sorry for the confusion, I do be able to reproduce this issue. I think this
is a bug of SparkRInterpreter



Manuel Sopena Ballesteros <manuel...@garvan.org.au> 于2019年11月13日周三 下午2:48写道:

> Sorry, I got confused with the terminology (I meant paragraph instead of
> note)
>
>
>
> My interpreter is configured per user +isolated à this means the same
> interpreter process (jvm process) for same user.
>
>
>
> First paragraph
>
>
>
> %anaconda3.r
>
>
>
> setwd("/home/mansop")
>
> getwd()
>
>
>
> output:
>
> [1] “/home/mansop”
>
>
>
> Second paragraph
>
> %anaconda3.r
>
>
>
> getwd()
>
>
>
> output:
>
> [1]
> “/d0/hadoop/yarn/local/usercache/mansop/appcache/application_1572410115474_0106/container_e16_1572410115474_0106_01_000001”
>
>
>
> Why R does not carry the working directory to the second paragraph even if
> both are running in the same interpreter process?
>
>
>
> Thank you
>
>
>
> Manuel
>
>
>
> *From:* Manuel Sopena Ballesteros [mailto:manuel...@garvan.org.au]
> *Sent:* Wednesday, November 13, 2019 2:32 PM
> *To:* users@zeppelin.apache.org
> *Subject:* spark r interpreter resets working directory
>
>
>
> Dear Zeppelin community,
>
>
>
> I am testing spark r interpreter and realised it does not keep the working
> directory across notes.
>
>
>
> What is the reason behind this behavior?
>
>
>
> Thank you very much
>
>
>
> NOTICE
>
> Please consider the environment before printing this email. This message
> and any attachments are intended for the addressee named and may contain
> legally privileged/confidential/copyright information. If you are not the
> intended recipient, you should not read, use, disclose, copy or distribute
> this communication. If you have received this message in error please
> notify us at once by return email and then delete both messages. We accept
> no liability for the distribution of viruses or similar in electronic
> communications. This notice should not be removed.
> NOTICE
> Please consider the environment before printing this email. This message
> and any attachments are intended for the addressee named and may contain
> legally privileged/confidential/copyright information. If you are not the
> intended recipient, you should not read, use, disclose, copy or distribute
> this communication. If you have received this message in error please
> notify us at once by return email and then delete both messages. We accept
> no liability for the distribution of viruses or similar in electronic
> communications. This notice should not be removed.
>


-- 
Best Regards

Jeff Zhang

Reply via email to