You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Daniel Valdivia <ho...@danielvaldivia.com> on 2016/01/28 21:27:24 UTC
How to write file to file system
Hi,
I'm trying to have the results of a notebook being saved to an external file
new PrintWriter("/Users/mauser/meh/data/ldaModel-50-20.json") { write(jsonString); close }
however this is throwing an error, is there a way to write files to the local file system?
Cheers
Re: How to write file to file system
Posted by moon soo Lee <mo...@apache.org>.
Hi,
Your code works perfectly for me. What kind of error are you seeing?
Thanks,
moon
On Fri, Jan 29, 2016 at 5:27 AM Daniel Valdivia <ho...@danielvaldivia.com>
wrote:
> Hi,
>
> I'm trying to have the results of a notebook being saved to an external
> file
>
> new PrintWriter("/Users/mauser/meh/data/ldaModel-50-20.json") {
> write(jsonString); close }
>
> however this is throwing an error, is there a way to write files to the
> local file system?
>
> Cheers