Re: [julia-users] New to Julia - Need some basic help

2016-09-05 Thread Jeffrey Sarnoff
and before all that, start with `julia> Pkg.update()`

On Monday, September 5, 2016 at 5:47:10 PM UTC-4, Jeffrey Sarnoff wrote:
>
> Not easy to know what's happening there.
> You might try:
>
> julia> quit()
> julia> Pkg.rm("Cairo");Pkg.rm("Cairo");
> julia> Pkg.add("Cairo")
> julia> Pkg.build("Cairo")
> julia> quit()
> julia> using Cairo
>
>
> if there are error messages, post 'em
> otherwise do the same substituting "Tk" for "Cairo"
> if there are error messages, post 'em
>
>
> On Saturday, September 3, 2016 at 2:13:28 PM UTC-4, Pigskin Ablanket wrote:
>>
>> meh - errors running the Pkg.
>>
>> On Saturday, September 3, 2016 at 1:53:01 PM UTC-4, Chris Rackauckas 
>> wrote:
>>>
>>> Pkg.build("Package") will build the binaries for the package. You should 
>>> run it since the package is saying it needs you to do it. Generally, 
>>> packages which have a lot of binary dependencies (i.e. ones that link to 
>>> C/C++ libraries) will require some form of building.
>>>
>>> On Saturday, September 3, 2016 at 10:49:36 AM UTC-7, Pigskin Ablanket 
>>> wrote:

 Haha - good question.  Didnt know what Pkg.Build("Cairo") meant - so I 
 havent run that yet.  Should I do that?

 On Saturday, September 3, 2016 at 12:33:47 PM UTC-4, Chris Rackauckas 
 wrote:
>
> Did it build correctly after using Pkg.build("Cairo")?
>
> On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket 
> wrote:
>>
>> So I tried all of this, but it looks like there was an error loading 
>> the TK package.  When I went to use Tk I got the following error message:
>>
>> ERROR: LoadError: Cairo Package not properly installed. Please run 
>> Pkg.build("Cairo") in error at error jl:22 while loading.  
>>
>> On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> (before all that, rename the file to something simple like 
>>> "everyday.jl")
>>>
>>> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 on an empty area of the windows desktop, RIGHT-CLICK and select new 
 > shortcut.
   where it says type the location of the item, type
 C:\\Users\\JHerron\\Documents\\Documents\\
 Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
  then click on next

 start Julia
 julia> Pkg.update() # ignore everything, let it finish
 julia> Pkg.add("Tk") # ignore everything, let it finish
 julia> quit()

 start Julia
 julia> using Tk
 julia> include(GetOpenFile())   
 # go to the desktop, select the shortcut you made
 # that code file should load and run


 On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>
> I haven't tested it on Windows, but the `Tk` package has 
> `GetOpenFile()` that should allow for a dialog to navigate the file 
> system. 
> Something like `include(GetOpenFile())` should work.
>
> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin 
> Ablanket wrote:
>>
>> Looks like his comment got deleted.  Will try it today and follow 
>> up.  Thanks again for all the help
>>
>> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> As Steven mentioned, starting the program from the directory 
>>> where the files reside allows you to include the file using its 
>>> filename 
>>> without the full path.  If that is easy for you, it is probably 
>>> best.  An 
>>> alternative is to do it with code.  Let me know if you need that.
>>>
>>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 No problem.  If you get a chance - great

 On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey 
 Sarnoff wrote:
>
> There is a way -- after the weekend.
>
> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin 
> Ablanket wrote:
>>
>> I probably dont want to change the input file names more than 
>> once although I would be updating its data daily - and I think I 
>> know how 
>> to do that (change the name of the file itself as well as in the 
>> code). 
>>  The output file though - I might want to change more regularly,
>>
>> Also - when I ran it - a few things were deprecated - does 
>> that just mean outdated?  Does updating with the new term change 
>> the file - 
>> or just the underlying solving?  Not sure if you can know that 
>> or not.
>>
>> I was just looking for

Re: [julia-users] New to Julia - Need some basic help

2016-09-05 Thread Jeffrey Sarnoff
Not easy to know what's happening there.
You might try:

julia> quit()
julia> Pkg.rm("Cairo");Pkg.rm("Cairo");
julia> Pkg.add("Cairo")
julia> Pkg.build("Cairo")
julia> quit()
julia> using Cairo


if there are error messages, post 'em
otherwise do the same substituting "Tk" for "Cairo"
if there are error messages, post 'em


On Saturday, September 3, 2016 at 2:13:28 PM UTC-4, Pigskin Ablanket wrote:
>
> meh - errors running the Pkg.
>
> On Saturday, September 3, 2016 at 1:53:01 PM UTC-4, Chris Rackauckas wrote:
>>
>> Pkg.build("Package") will build the binaries for the package. You should 
>> run it since the package is saying it needs you to do it. Generally, 
>> packages which have a lot of binary dependencies (i.e. ones that link to 
>> C/C++ libraries) will require some form of building.
>>
>> On Saturday, September 3, 2016 at 10:49:36 AM UTC-7, Pigskin Ablanket 
>> wrote:
>>>
>>> Haha - good question.  Didnt know what Pkg.Build("Cairo") meant - so I 
>>> havent run that yet.  Should I do that?
>>>
>>> On Saturday, September 3, 2016 at 12:33:47 PM UTC-4, Chris Rackauckas 
>>> wrote:

 Did it build correctly after using Pkg.build("Cairo")?

 On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket 
 wrote:
>
> So I tried all of this, but it looks like there was an error loading 
> the TK package.  When I went to use Tk I got the following error message:
>
> ERROR: LoadError: Cairo Package not properly installed. Please run 
> Pkg.build("Cairo") in error at error jl:22 while loading.  
>
> On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> (before all that, rename the file to something simple like 
>> "everyday.jl")
>>
>> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> on an empty area of the windows desktop, RIGHT-CLICK and select new 
>>> > shortcut.
>>>   where it says type the location of the item, type
>>> C:\\Users\\JHerron\\Documents\\Documents\\
>>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
>>>  then click on next
>>>
>>> start Julia
>>> julia> Pkg.update() # ignore everything, let it finish
>>> julia> Pkg.add("Tk") # ignore everything, let it finish
>>> julia> quit()
>>>
>>> start Julia
>>> julia> using Tk
>>> julia> include(GetOpenFile())   
>>> # go to the desktop, select the shortcut you made
>>> # that code file should load and run
>>>
>>>
>>> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:

 I haven't tested it on Windows, but the `Tk` package has 
 `GetOpenFile()` that should allow for a dialog to navigate the file 
 system. 
 Something like `include(GetOpenFile())` should work.

 On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
 wrote:
>
> Looks like his comment got deleted.  Will try it today and follow 
> up.  Thanks again for all the help
>
> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> As Steven mentioned, starting the program from the directory 
>> where the files reside allows you to include the file using its 
>> filename 
>> without the full path.  If that is easy for you, it is probably 
>> best.  An 
>> alternative is to do it with code.  Let me know if you need that.
>>
>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> No problem.  If you get a chance - great
>>>
>>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey 
>>> Sarnoff wrote:

 There is a way -- after the weekend.

 On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin 
 Ablanket wrote:
>
> I probably dont want to change the input file names more than 
> once although I would be updating its data daily - and I think I 
> know how 
> to do that (change the name of the file itself as well as in the 
> code). 
>  The output file though - I might want to change more regularly,
>
> Also - when I ran it - a few things were deprecated - does 
> that just mean outdated?  Does updating with the new term change 
> the file - 
> or just the underlying solving?  Not sure if you can know that or 
> not.
>
> I was just looking for a way yo shortcut that long as heck 
> include string I have now.  Cause I will run that daily and lord 
> knows I 
> mistyped it like 10 times.
>
> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey 

Re: [julia-users] New to Julia - Need some basic help

2016-09-03 Thread Pigskin Ablanket
meh - errors running the Pkg.

On Saturday, September 3, 2016 at 1:53:01 PM UTC-4, Chris Rackauckas wrote:
>
> Pkg.build("Package") will build the binaries for the package. You should 
> run it since the package is saying it needs you to do it. Generally, 
> packages which have a lot of binary dependencies (i.e. ones that link to 
> C/C++ libraries) will require some form of building.
>
> On Saturday, September 3, 2016 at 10:49:36 AM UTC-7, Pigskin Ablanket 
> wrote:
>>
>> Haha - good question.  Didnt know what Pkg.Build("Cairo") meant - so I 
>> havent run that yet.  Should I do that?
>>
>> On Saturday, September 3, 2016 at 12:33:47 PM UTC-4, Chris Rackauckas 
>> wrote:
>>>
>>> Did it build correctly after using Pkg.build("Cairo")?
>>>
>>> On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket 
>>> wrote:

 So I tried all of this, but it looks like there was an error loading 
 the TK package.  When I went to use Tk I got the following error message:

 ERROR: LoadError: Cairo Package not properly installed. Please run 
 Pkg.build("Cairo") in error at error jl:22 while loading.  

 On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff wrote:
>
> (before all that, rename the file to something simple like 
> "everyday.jl")
>
> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> on an empty area of the windows desktop, RIGHT-CLICK and select new > 
>> shortcut.
>>   where it says type the location of the item, type
>> C:\\Users\\JHerron\\Documents\\Documents\\
>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
>>  then click on next
>>
>> start Julia
>> julia> Pkg.update() # ignore everything, let it finish
>> julia> Pkg.add("Tk") # ignore everything, let it finish
>> julia> quit()
>>
>> start Julia
>> julia> using Tk
>> julia> include(GetOpenFile())   
>> # go to the desktop, select the shortcut you made
>> # that code file should load and run
>>
>>
>> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>>>
>>> I haven't tested it on Windows, but the `Tk` package has 
>>> `GetOpenFile()` that should allow for a dialog to navigate the file 
>>> system. 
>>> Something like `include(GetOpenFile())` should work.
>>>
>>> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 Looks like his comment got deleted.  Will try it today and follow 
 up.  Thanks again for all the help

 On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> As Steven mentioned, starting the program from the directory where 
> the files reside allows you to include the file using its filename 
> without 
> the full path.  If that is easy for you, it is probably best.  An 
> alternative is to do it with code.  Let me know if you need that.
>
> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> No problem.  If you get a chance - great
>>
>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey 
>> Sarnoff wrote:
>>>
>>> There is a way -- after the weekend.
>>>
>>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 I probably dont want to change the input file names more than 
 once although I would be updating its data daily - and I think I 
 know how 
 to do that (change the name of the file itself as well as in the 
 code). 
  The output file though - I might want to change more regularly,

 Also - when I ran it - a few things were deprecated - does that 
 just mean outdated?  Does updating with the new term change the 
 file - or 
 just the underlying solving?  Not sure if you can know that or not.

 I was just looking for a way yo shortcut that long as heck 
 include string I have now.  Cause I will run that daily and lord 
 knows I 
 mistyped it like 10 times.

 On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> You are most welcome.
>
> What do you want to change, if anything, from day to day, for 
> example:  one or both input file names, the output file name, 
> reuse 
> some/all file names while changing the data inside?
>
>
> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin 
> Ablanket wrote:
>>
>> IT Works   Thank you so much.  Found my error in the 

Re: [julia-users] New to Julia - Need some basic help

2016-09-03 Thread Chris Rackauckas
Pkg.build("Package") will build the binaries for the package. You should 
run it since the package is saying it needs you to do it. Generally, 
packages which have a lot of binary dependencies (i.e. ones that link to 
C/C++ libraries) will require some form of building.

On Saturday, September 3, 2016 at 10:49:36 AM UTC-7, Pigskin Ablanket wrote:
>
> Haha - good question.  Didnt know what Pkg.Build("Cairo") meant - so I 
> havent run that yet.  Should I do that?
>
> On Saturday, September 3, 2016 at 12:33:47 PM UTC-4, Chris Rackauckas 
> wrote:
>>
>> Did it build correctly after using Pkg.build("Cairo")?
>>
>> On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket 
>> wrote:
>>>
>>> So I tried all of this, but it looks like there was an error loading the 
>>> TK package.  When I went to use Tk I got the following error message:
>>>
>>> ERROR: LoadError: Cairo Package not properly installed. Please run 
>>> Pkg.build("Cairo") in error at error jl:22 while loading.  
>>>
>>> On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff wrote:

 (before all that, rename the file to something simple like 
 "everyday.jl")

 On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> on an empty area of the windows desktop, RIGHT-CLICK and select new > 
> shortcut.
>   where it says type the location of the item, type
> C:\\Users\\JHerron\\Documents\\Documents\\
> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
>  then click on next
>
> start Julia
> julia> Pkg.update() # ignore everything, let it finish
> julia> Pkg.add("Tk") # ignore everything, let it finish
> julia> quit()
>
> start Julia
> julia> using Tk
> julia> include(GetOpenFile())   
> # go to the desktop, select the shortcut you made
> # that code file should load and run
>
>
> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>>
>> I haven't tested it on Windows, but the `Tk` package has 
>> `GetOpenFile()` that should allow for a dialog to navigate the file 
>> system. 
>> Something like `include(GetOpenFile())` should work.
>>
>> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Looks like his comment got deleted.  Will try it today and follow 
>>> up.  Thanks again for all the help
>>>
>>> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 As Steven mentioned, starting the program from the directory where 
 the files reside allows you to include the file using its filename 
 without 
 the full path.  If that is easy for you, it is probably best.  An 
 alternative is to do it with code.  Let me know if you need that.

 On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> No problem.  If you get a chance - great
>
> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> There is a way -- after the weekend.
>>
>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> I probably dont want to change the input file names more than 
>>> once although I would be updating its data daily - and I think I 
>>> know how 
>>> to do that (change the name of the file itself as well as in the 
>>> code). 
>>>  The output file though - I might want to change more regularly,
>>>
>>> Also - when I ran it - a few things were deprecated - does that 
>>> just mean outdated?  Does updating with the new term change the 
>>> file - or 
>>> just the underlying solving?  Not sure if you can know that or not.
>>>
>>> I was just looking for a way yo shortcut that long as heck 
>>> include string I have now.  Cause I will run that daily and lord 
>>> knows I 
>>> mistyped it like 10 times.
>>>
>>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 You are most welcome.

 What do you want to change, if anything, from day to day, for 
 example:  one or both input file names, the output file name, 
 reuse 
 some/all file names while changing the data inside?


 On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin 
 Ablanket wrote:
>
> IT Works   Thank you so much.  Found my error in the 
> code.
>
> I am curious if there is a way to shortcut the command as I 
> would want to run this daily to test and it seems like a lot to 
> type 
> correctly.
>>>

Re: [julia-users] New to Julia - Need some basic help

2016-09-03 Thread Pigskin Ablanket
Haha - good question.  Didnt know what Pkg.Build("Cairo") meant - so I 
havent run that yet.  Should I do that?

On Saturday, September 3, 2016 at 12:33:47 PM UTC-4, Chris Rackauckas wrote:
>
> Did it build correctly after using Pkg.build("Cairo")?
>
> On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket wrote:
>>
>> So I tried all of this, but it looks like there was an error loading the 
>> TK package.  When I went to use Tk I got the following error message:
>>
>> ERROR: LoadError: Cairo Package not properly installed. Please run 
>> Pkg.build("Cairo") in error at error jl:22 while loading.  
>>
>> On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> (before all that, rename the file to something simple like "everyday.jl")
>>>
>>> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff wrote:

 on an empty area of the windows desktop, RIGHT-CLICK and select new > 
 shortcut.
   where it says type the location of the item, type
 C:\\Users\\JHerron\\Documents\\Documents\\
 Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
  then click on next

 start Julia
 julia> Pkg.update() # ignore everything, let it finish
 julia> Pkg.add("Tk") # ignore everything, let it finish
 julia> quit()

 start Julia
 julia> using Tk
 julia> include(GetOpenFile())   
 # go to the desktop, select the shortcut you made
 # that code file should load and run


 On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>
> I haven't tested it on Windows, but the `Tk` package has 
> `GetOpenFile()` that should allow for a dialog to navigate the file 
> system. 
> Something like `include(GetOpenFile())` should work.
>
> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Looks like his comment got deleted.  Will try it today and follow up. 
>>  Thanks again for all the help
>>
>> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> As Steven mentioned, starting the program from the directory where 
>>> the files reside allows you to include the file using its filename 
>>> without 
>>> the full path.  If that is easy for you, it is probably best.  An 
>>> alternative is to do it with code.  Let me know if you need that.
>>>
>>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 No problem.  If you get a chance - great

 On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> There is a way -- after the weekend.
>
> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> I probably dont want to change the input file names more than 
>> once although I would be updating its data daily - and I think I 
>> know how 
>> to do that (change the name of the file itself as well as in the 
>> code). 
>>  The output file though - I might want to change more regularly,
>>
>> Also - when I ran it - a few things were deprecated - does that 
>> just mean outdated?  Does updating with the new term change the file 
>> - or 
>> just the underlying solving?  Not sure if you can know that or not.
>>
>> I was just looking for a way yo shortcut that long as heck 
>> include string I have now.  Cause I will run that daily and lord 
>> knows I 
>> mistyped it like 10 times.
>>
>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> You are most welcome.
>>>
>>> What do you want to change, if anything, from day to day, for 
>>> example:  one or both input file names, the output file name, reuse 
>>> some/all file names while changing the data inside?
>>>
>>>
>>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 IT Works   Thank you so much.  Found my error in the 
 code.

 I am curious if there is a way to shortcut the command as I 
 would want to run this daily to test and it seems like a lot to 
 type 
 correctly.

 Thanks for the time today

 On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> Look correct?
>
> I will answer that after you try running it.
>
>
> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin 
> Ablanket wrote:
>>
>> Thanks for providing me so much help today - much appreciated.

Re: [julia-users] New to Julia - Need some basic help

2016-09-03 Thread Chris Rackauckas
Did it build correctly after using Pkg.build("Cairo")?

On Saturday, September 3, 2016 at 8:33:16 AM UTC-7, Pigskin Ablanket wrote:
>
> So I tried all of this, but it looks like there was an error loading the 
> TK package.  When I went to use Tk I got the following error message:
>
> ERROR: LoadError: Cairo Package not properly installed. Please run 
> Pkg.build("Cairo") in error at error jl:22 while loading.  
>
> On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> (before all that, rename the file to something simple like "everyday.jl")
>>
>> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> on an empty area of the windows desktop, RIGHT-CLICK and select new > 
>>> shortcut.
>>>   where it says type the location of the item, type
>>> C:\\Users\\JHerron\\Documents\\Documents\\
>>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl
>>>  then click on next
>>>
>>> start Julia
>>> julia> Pkg.update() # ignore everything, let it finish
>>> julia> Pkg.add("Tk") # ignore everything, let it finish
>>> julia> quit()
>>>
>>> start Julia
>>> julia> using Tk
>>> julia> include(GetOpenFile())   
>>> # go to the desktop, select the shortcut you made
>>> # that code file should load and run
>>>
>>>
>>> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:

 I haven't tested it on Windows, but the `Tk` package has 
 `GetOpenFile()` that should allow for a dialog to navigate the file 
 system. 
 Something like `include(GetOpenFile())` should work.

 On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
 wrote:
>
> Looks like his comment got deleted.  Will try it today and follow up. 
>  Thanks again for all the help
>
> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> As Steven mentioned, starting the program from the directory where 
>> the files reside allows you to include the file using its filename 
>> without 
>> the full path.  If that is easy for you, it is probably best.  An 
>> alternative is to do it with code.  Let me know if you need that.
>>
>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> No problem.  If you get a chance - great
>>>
>>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 There is a way -- after the weekend.

 On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> I probably dont want to change the input file names more than once 
> although I would be updating its data daily - and I think I know how 
> to do 
> that (change the name of the file itself as well as in the code).  
> The 
> output file though - I might want to change more regularly,
>
> Also - when I ran it - a few things were deprecated - does that 
> just mean outdated?  Does updating with the new term change the file 
> - or 
> just the underlying solving?  Not sure if you can know that or not.
>
> I was just looking for a way yo shortcut that long as heck include 
> string I have now.  Cause I will run that daily and lord knows I 
> mistyped 
> it like 10 times.
>
> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> You are most welcome.
>>
>> What do you want to change, if anything, from day to day, for 
>> example:  one or both input file names, the output file name, reuse 
>> some/all file names while changing the data inside?
>>
>>
>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> IT Works   Thank you so much.  Found my error in the 
>>> code.
>>>
>>> I am curious if there is a way to shortcut the command as I 
>>> would want to run this daily to test and it seems like a lot to 
>>> type 
>>> correctly.
>>>
>>> Thanks for the time today
>>>
>>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 Look correct?

 I will answer that after you try running it.


 On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin 
 Ablanket wrote:
>
> Thanks for providing me so much help today - much appreciated.
>
> I copied the properties right here for folder Julia  which is 
> where the code file is located:
> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>
> Interesting that it didnt bring it over as My_Documents.
>

Re: [julia-users] New to Julia - Need some basic help

2016-09-03 Thread Pigskin Ablanket
So I tried all of this, but it looks like there was an error loading the TK 
package.  When I went to use Tk I got the following error message:

ERROR: LoadError: Cairo Package not properly installed. Please run 
Pkg.build("Cairo") in error at error jl:22 while loading.  

On Thursday, August 25, 2016 at 1:06:49 AM UTC-4, Jeffrey Sarnoff wrote:
>
> (before all that, rename the file to something simple like "everyday.jl")
>
> On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> on an empty area of the windows desktop, RIGHT-CLICK and select new > 
>> shortcut.
>>   where it says type the location of the item, type
>> C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\
>> code_for_Github.jl
>>  then click on next
>>
>> start Julia
>> julia> Pkg.update() # ignore everything, let it finish
>> julia> Pkg.add("Tk") # ignore everything, let it finish
>> julia> quit()
>>
>> start Julia
>> julia> using Tk
>> julia> include(GetOpenFile())   
>> # go to the desktop, select the shortcut you made
>> # that code file should load and run
>>
>>
>> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>>>
>>> I haven't tested it on Windows, but the `Tk` package has `GetOpenFile()` 
>>> that should allow for a dialog to navigate the file system. Something like 
>>> `include(GetOpenFile())` should work.
>>>
>>> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 Looks like his comment got deleted.  Will try it today and follow up. 
  Thanks again for all the help

 On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff wrote:
>
> As Steven mentioned, starting the program from the directory where the 
> files reside allows you to include the file using its filename without 
> the 
> full path.  If that is easy for you, it is probably best.  An alternative 
> is to do it with code.  Let me know if you need that.
>
> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:
>>
>> No problem.  If you get a chance - great
>>
>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> There is a way -- after the weekend.
>>>
>>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 I probably dont want to change the input file names more than once 
 although I would be updating its data daily - and I think I know how 
 to do 
 that (change the name of the file itself as well as in the code).  The 
 output file though - I might want to change more regularly,

 Also - when I ran it - a few things were deprecated - does that 
 just mean outdated?  Does updating with the new term change the file - 
 or 
 just the underlying solving?  Not sure if you can know that or not.

 I was just looking for a way yo shortcut that long as heck include 
 string I have now.  Cause I will run that daily and lord knows I 
 mistyped 
 it like 10 times.

 On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> You are most welcome.
>
> What do you want to change, if anything, from day to day, for 
> example:  one or both input file names, the output file name, reuse 
> some/all file names while changing the data inside?
>
>
> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> IT Works   Thank you so much.  Found my error in the code.
>>
>> I am curious if there is a way to shortcut the command as I would 
>> want to run this daily to test and it seems like a lot to type 
>> correctly.
>>
>> Thanks for the time today
>>
>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> Look correct?
>>>
>>> I will answer that after you try running it.
>>>
>>>
>>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 Thanks for providing me so much help today - much appreciated.

 I copied the properties right here for folder Julia  which is 
 where the code file is located:
 C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL

 Interesting that it didnt bring it over as My_Documents.

 Based on this, I would believe the command needs to be:
 include("C:\\Users\\JHerron\\Documents\\Documents\\
 Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")

 Look correct?

 I made the changes to the paths in the file as well
>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-24 Thread Jeffrey Sarnoff
(before all that, rename the file to something simple like "everyday.jl")

On Thursday, August 25, 2016 at 1:05:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> on an empty area of the windows desktop, RIGHT-CLICK and select new > 
> shortcut.
>   where it says type the location of the item, type
> C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\
> code_for_Github.jl
>  then click on next
>
> start Julia
> julia> Pkg.update() # ignore everything, let it finish
> julia> Pkg.add("Tk") # ignore everything, let it finish
> julia> quit()
>
> start Julia
> julia> using Tk
> julia> include(GetOpenFile())   
> # go to the desktop, select the shortcut you made
> # that code file should load and run
>
>
> On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>>
>> I haven't tested it on Windows, but the `Tk` package has `GetOpenFile()` 
>> that should allow for a dialog to navigate the file system. Something like 
>> `include(GetOpenFile())` should work.
>>
>> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Looks like his comment got deleted.  Will try it today and follow up. 
>>>  Thanks again for all the help
>>>
>>> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff wrote:

 As Steven mentioned, starting the program from the directory where the 
 files reside allows you to include the file using its filename without the 
 full path.  If that is easy for you, it is probably best.  An alternative 
 is to do it with code.  Let me know if you need that.

 On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:
>
> No problem.  If you get a chance - great
>
> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> There is a way -- after the weekend.
>>
>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> I probably dont want to change the input file names more than once 
>>> although I would be updating its data daily - and I think I know how to 
>>> do 
>>> that (change the name of the file itself as well as in the code).  The 
>>> output file though - I might want to change more regularly,
>>>
>>> Also - when I ran it - a few things were deprecated - does that just 
>>> mean outdated?  Does updating with the new term change the file - or 
>>> just 
>>> the underlying solving?  Not sure if you can know that or not.
>>>
>>> I was just looking for a way yo shortcut that long as heck include 
>>> string I have now.  Cause I will run that daily and lord knows I 
>>> mistyped 
>>> it like 10 times.
>>>
>>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 You are most welcome.

 What do you want to change, if anything, from day to day, for 
 example:  one or both input file names, the output file name, reuse 
 some/all file names while changing the data inside?


 On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> IT Works   Thank you so much.  Found my error in the code.
>
> I am curious if there is a way to shortcut the command as I would 
> want to run this daily to test and it seems like a lot to type 
> correctly.
>
> Thanks for the time today
>
> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> Look correct?
>>
>> I will answer that after you try running it.
>>
>>
>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Thanks for providing me so much help today - much appreciated.
>>>
>>> I copied the properties right here for folder Julia  which is 
>>> where the code file is located:
>>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>>
>>> Interesting that it didnt bring it over as My_Documents.
>>>
>>> Based on this, I would believe the command needs to be:
>>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>>
>>> Look correct?
>>>
>>> I made the changes to the paths in the file as well
>>>
>>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>>
>>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 two things,
 you wrote:

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 and I wonder, do you mean

Re: [julia-users] New to Julia - Need some basic help

2016-08-24 Thread Jeffrey Sarnoff
on an empty area of the windows desktop, RIGHT-CLICK and select new > 
shortcut.
  where it says type the location of the item, type
C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\
code_for_Github.jl
 then click on next

start Julia
julia> Pkg.update() # ignore everything, let it finish
julia> Pkg.add("Tk") # ignore everything, let it finish
julia> quit()

start Julia
julia> using Tk
julia> include(GetOpenFile())   
# go to the desktop, select the shortcut you made
# that code file should load and run


On Wednesday, August 24, 2016 at 7:57:30 AM UTC-4, j verzani wrote:
>
> I haven't tested it on Windows, but the `Tk` package has `GetOpenFile()` 
> that should allow for a dialog to navigate the file system. Something like 
> `include(GetOpenFile())` should work.
>
> On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Looks like his comment got deleted.  Will try it today and follow up. 
>>  Thanks again for all the help
>>
>> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> As Steven mentioned, starting the program from the directory where the 
>>> files reside allows you to include the file using its filename without the 
>>> full path.  If that is easy for you, it is probably best.  An alternative 
>>> is to do it with code.  Let me know if you need that.
>>>
>>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:

 No problem.  If you get a chance - great

 On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> There is a way -- after the weekend.
>
> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>>
>> I probably dont want to change the input file names more than once 
>> although I would be updating its data daily - and I think I know how to 
>> do 
>> that (change the name of the file itself as well as in the code).  The 
>> output file though - I might want to change more regularly,
>>
>> Also - when I ran it - a few things were deprecated - does that just 
>> mean outdated?  Does updating with the new term change the file - or 
>> just 
>> the underlying solving?  Not sure if you can know that or not.
>>
>> I was just looking for a way yo shortcut that long as heck include 
>> string I have now.  Cause I will run that daily and lord knows I 
>> mistyped 
>> it like 10 times.
>>
>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> You are most welcome.
>>>
>>> What do you want to change, if anything, from day to day, for 
>>> example:  one or both input file names, the output file name, reuse 
>>> some/all file names while changing the data inside?
>>>
>>>
>>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 IT Works   Thank you so much.  Found my error in the code.

 I am curious if there is a way to shortcut the command as I would 
 want to run this daily to test and it seems like a lot to type 
 correctly.

 Thanks for the time today

 On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> Look correct?
>
> I will answer that after you try running it.
>
>
> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Thanks for providing me so much help today - much appreciated.
>>
>> I copied the properties right here for folder Julia  which is 
>> where the code file is located:
>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>
>> Interesting that it didnt bring it over as My_Documents.
>>
>> Based on this, I would believe the command needs to be:
>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>
>> Look correct?
>>
>> I made the changes to the paths in the file as well
>>
>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>
>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> two things,
>>> you wrote:
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>> and I wonder, do you mean   !   
>>>  !
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>> or
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\D

Re: [julia-users] New to Julia - Need some basic help

2016-08-24 Thread j verzani
I haven't tested it on Windows, but the `Tk` package has `GetOpenFile()` 
that should allow for a dialog to navigate the file system. Something like 
`include(GetOpenFile())` should work.

On Wednesday, August 24, 2016 at 7:40:10 AM UTC-4, Pigskin Ablanket wrote:
>
> Looks like his comment got deleted.  Will try it today and follow up. 
>  Thanks again for all the help
>
> On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> As Steven mentioned, starting the program from the directory where the 
>> files reside allows you to include the file using its filename without the 
>> full path.  If that is easy for you, it is probably best.  An alternative 
>> is to do it with code.  Let me know if you need that.
>>
>> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> No problem.  If you get a chance - great
>>>
>>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff wrote:

 There is a way -- after the weekend.

 On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>
> I probably dont want to change the input file names more than once 
> although I would be updating its data daily - and I think I know how to 
> do 
> that (change the name of the file itself as well as in the code).  The 
> output file though - I might want to change more regularly,
>
> Also - when I ran it - a few things were deprecated - does that just 
> mean outdated?  Does updating with the new term change the file - or just 
> the underlying solving?  Not sure if you can know that or not.
>
> I was just looking for a way yo shortcut that long as heck include 
> string I have now.  Cause I will run that daily and lord knows I mistyped 
> it like 10 times.
>
> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> You are most welcome.
>>
>> What do you want to change, if anything, from day to day, for 
>> example:  one or both input file names, the output file name, reuse 
>> some/all file names while changing the data inside?
>>
>>
>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> IT Works   Thank you so much.  Found my error in the code.
>>>
>>> I am curious if there is a way to shortcut the command as I would 
>>> want to run this daily to test and it seems like a lot to type 
>>> correctly.
>>>
>>> Thanks for the time today
>>>
>>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 Look correct?

 I will answer that after you try running it.


 On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> Thanks for providing me so much help today - much appreciated.
>
> I copied the properties right here for folder Julia  which is 
> where the code file is located:
> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>
> Interesting that it didnt bring it over as My_Documents.
>
> Based on this, I would believe the command needs to be:
> include("C:\\Users\\JHerron\\Documents\\Documents\\
> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>
> Look correct?
>
> I made the changes to the paths in the file as well
>
> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>
> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> two things,
>> you wrote:
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> and I wonder, do you mean   ! 
>>!
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>> or
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>
>> when you go to the directory where you see the file: 
>> code_for_Github.jl and you put the mouse on that file and 
>> right-click to 
>> see the popup menu and select the last thing "properties" there is 
>> something that says Location,if does it not exactly match:
>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
>> then you have miscopied it, if it looks like this 
>> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
>> then you should be using (and fix the paths in the 
>> code_for_Github.jl file, too)
>>
>>  
>> include("C:\\Users\\JHer

Re: [julia-users] New to Julia - Need some basic help

2016-08-24 Thread Pigskin Ablanket
Looks like his comment got deleted.  Will try it today and follow up. 
 Thanks again for all the help

On Tuesday, August 23, 2016 at 10:44:19 PM UTC-4, Jeffrey Sarnoff wrote:
>
> As Steven mentioned, starting the program from the directory where the 
> files reside allows you to include the file using its filename without the 
> full path.  If that is easy for you, it is probably best.  An alternative 
> is to do it with code.  Let me know if you need that.
>
> On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:
>>
>> No problem.  If you get a chance - great
>>
>> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> There is a way -- after the weekend.
>>>
>>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:

 I probably dont want to change the input file names more than once 
 although I would be updating its data daily - and I think I know how to do 
 that (change the name of the file itself as well as in the code).  The 
 output file though - I might want to change more regularly,

 Also - when I ran it - a few things were deprecated - does that just 
 mean outdated?  Does updating with the new term change the file - or just 
 the underlying solving?  Not sure if you can know that or not.

 I was just looking for a way yo shortcut that long as heck include 
 string I have now.  Cause I will run that daily and lord knows I mistyped 
 it like 10 times.

 On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>
> You are most welcome.
>
> What do you want to change, if anything, from day to day, for example: 
>  one or both input file names, the output file name, reuse some/all file 
> names while changing the data inside?
>
>
> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>>
>> IT Works   Thank you so much.  Found my error in the code.
>>
>> I am curious if there is a way to shortcut the command as I would 
>> want to run this daily to test and it seems like a lot to type correctly.
>>
>> Thanks for the time today
>>
>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> Look correct?
>>>
>>> I will answer that after you try running it.
>>>
>>>
>>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 Thanks for providing me so much help today - much appreciated.

 I copied the properties right here for folder Julia  which is where 
 the code file is located:
 C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL

 Interesting that it didnt bring it over as My_Documents.

 Based on this, I would believe the command needs to be:
 include("C:\\Users\\JHerron\\Documents\\Documents\\
 Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")

 Look correct?

 I made the changes to the paths in the file as well

 "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"

 On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> two things,
> you wrote:
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> and I wonder, do you mean   ! 
>!
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
> or
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> when you go to the directory where you see the file: 
> code_for_Github.jl and you put the mouse on that file and right-click 
> to 
> see the popup menu and select the last thing "properties" there is 
> something that says Location,if does it not exactly match:
> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
> then you have miscopied it, if it looks like this 
> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
> then you should be using (and fix the paths in the 
> code_for_Github.jl file, too)
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> ---
>
>
> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Sadly, I get the following response from 
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-23 Thread Jeffrey Sarnoff
As Steven mentioned, starting the program from the directory where the 
files reside allows you to include the file using its filename without the 
full path.  If that is easy for you, it is probably best.  An alternative 
is to do it with code.  Let me know if you need that.

On Monday, August 22, 2016 at 5:06:33 PM UTC-4, Pigskin Ablanket wrote:
>
> No problem.  If you get a chance - great
>
> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> There is a way -- after the weekend.
>>
>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> I probably dont want to change the input file names more than once 
>>> although I would be updating its data daily - and I think I know how to do 
>>> that (change the name of the file itself as well as in the code).  The 
>>> output file though - I might want to change more regularly,
>>>
>>> Also - when I ran it - a few things were deprecated - does that just 
>>> mean outdated?  Does updating with the new term change the file - or just 
>>> the underlying solving?  Not sure if you can know that or not.
>>>
>>> I was just looking for a way yo shortcut that long as heck include 
>>> string I have now.  Cause I will run that daily and lord knows I mistyped 
>>> it like 10 times.
>>>
>>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:

 You are most welcome.

 What do you want to change, if anything, from day to day, for example: 
  one or both input file names, the output file name, reuse some/all file 
 names while changing the data inside?


 On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>
> IT Works   Thank you so much.  Found my error in the code.
>
> I am curious if there is a way to shortcut the command as I would want 
> to run this daily to test and it seems like a lot to type correctly.
>
> Thanks for the time today
>
> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> Look correct?
>>
>> I will answer that after you try running it.
>>
>>
>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Thanks for providing me so much help today - much appreciated.
>>>
>>> I copied the properties right here for folder Julia  which is where 
>>> the code file is located:
>>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>>
>>> Interesting that it didnt bring it over as My_Documents.
>>>
>>> Based on this, I would believe the command needs to be:
>>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>>
>>> Look correct?
>>>
>>> I made the changes to the paths in the file as well
>>>
>>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>>
>>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 two things,
 you wrote:

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 and I wonder, do you mean   !   
  !

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
 or

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

 when you go to the directory where you see the file: 
 code_for_Github.jl and you put the mouse on that file and right-click 
 to 
 see the popup menu and select the last thing "properties" there is 
 something that says Location,if does it not exactly match:
 C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
 then you have miscopied it, if it looks like this 
 C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
 then you should be using (and fix the paths in the 
 code_for_Github.jl file, too)

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

 ---


 On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> Sadly, I get the following response from 
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>
> *ERROR: could not copen file 
> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
> *in include at boot.jl:261*
> *in include_from_node1 at loading.jl:320*
>
> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarn

Re: [julia-users] New to Julia - Need some basic help

2016-08-23 Thread Jeffrey Sarnoff
As Steven mentioned, starting the program from the directory where the
files reside allows you to include the file using its filename without the
full path.  If that is easy for you, it is probably best.  An alternative
is to do it with code.  Let me know if you need that.

On Mon, Aug 22, 2016 at 5:06 PM, Pigskin Ablanket  wrote:

> No problem.  If you get a chance - great
>
>
> On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> There is a way -- after the weekend.
>>
>> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> I probably dont want to change the input file names more than once
>>> although I would be updating its data daily - and I think I know how to do
>>> that (change the name of the file itself as well as in the code).  The
>>> output file though - I might want to change more regularly,
>>>
>>> Also - when I ran it - a few things were deprecated - does that just
>>> mean outdated?  Does updating with the new term change the file - or just
>>> the underlying solving?  Not sure if you can know that or not.
>>>
>>> I was just looking for a way yo shortcut that long as heck include
>>> string I have now.  Cause I will run that daily and lord knows I mistyped
>>> it like 10 times.
>>>
>>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:

 You are most welcome.

 What do you want to change, if anything, from day to day, for example:
  one or both input file names, the output file name, reuse some/all file
 names while changing the data inside?


 On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>
> IT Works   Thank you so much.  Found my error in the code.
>
> I am curious if there is a way to shortcut the command as I would want
> to run this daily to test and it seems like a lot to type correctly.
>
> Thanks for the time today
>
> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> Look correct?
>>
>> I will answer that after you try running it.
>>
>>
>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket
>> wrote:
>>>
>>> Thanks for providing me so much help today - much appreciated.
>>>
>>> I copied the properties right here for folder Julia  which is where
>>> the code file is located:
>>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>>
>>> Interesting that it didnt bring it over as My_Documents.
>>>
>>> Based on this, I would believe the command needs to be:
>>> include("C:\\Users\\JHerron\\Documents\\Documents\\Personal\
>>> \DFS\\NHL\\Julia\\code_for_Github.jl")
>>>
>>> Look correct?
>>>
>>> I made the changes to the paths in the file as well
>>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\
>>> NHL\\Julia\\example_skaters.csv"
>>>
>>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff
>>> wrote:

 two things,
 you wrote:
  include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Per
 sonal\\DFS/NHL\\Julia/code_for_Github.jl")
 and I wonder, do you mean   !
  !
  include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Per
 sonal\\DFS\\NHL\\Julia\\code_for_Github.jl")
 or
  include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Per
 sonal\\DFS_NHL\\Julia\\code_for_Github.jl")

 when you go to the directory where you see the file:
 code_for_Github.jl and you put the mouse on that file and right-click 
 to
 see the popup menu and select the last thing "properties" there is
 something that says Location,if does it not exactly match:
 C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
 then you have miscopied it, if it looks like this
 C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
 then you should be using (and fix the paths in the
 code_for_Github.jl file, too)
  include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Per
 sonal\\DFS_NHL\\Julia\\code_for_Github.jl")

 ---


 On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket
 wrote:
>
> Sadly, I get the following response from
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Pers
> onal\\DFS/NHL\\Julia/code_for_Github.jl")
>
> *ERROR: could not copen file
> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
> *in include at boot.jl:261*
> *in include_from_node1 at loading.jl:320*
>
> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff
> wrote:
>>
>> the "i" in include should be 

Re: [julia-users] New to Julia - Need some basic help

2016-08-22 Thread Pigskin Ablanket
No problem.  If you get a chance - great

On Saturday, August 20, 2016 at 12:13:40 PM UTC-4, Jeffrey Sarnoff wrote:
>
> There is a way -- after the weekend.
>
> On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>>
>> I probably dont want to change the input file names more than once 
>> although I would be updating its data daily - and I think I know how to do 
>> that (change the name of the file itself as well as in the code).  The 
>> output file though - I might want to change more regularly,
>>
>> Also - when I ran it - a few things were deprecated - does that just mean 
>> outdated?  Does updating with the new term change the file - or just the 
>> underlying solving?  Not sure if you can know that or not.
>>
>> I was just looking for a way yo shortcut that long as heck include string 
>> I have now.  Cause I will run that daily and lord knows I mistyped it like 
>> 10 times.
>>
>> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> You are most welcome.
>>>
>>> What do you want to change, if anything, from day to day, for example: 
>>>  one or both input file names, the output file name, reuse some/all file 
>>> names while changing the data inside?
>>>
>>>
>>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:

 IT Works   Thank you so much.  Found my error in the code.

 I am curious if there is a way to shortcut the command as I would want 
 to run this daily to test and it seems like a lot to type correctly.

 Thanks for the time today

 On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>
> Look correct?
>
> I will answer that after you try running it.
>
>
> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Thanks for providing me so much help today - much appreciated.
>>
>> I copied the properties right here for folder Julia  which is where 
>> the code file is located:
>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>
>> Interesting that it didnt bring it over as My_Documents.
>>
>> Based on this, I would believe the command needs to be:
>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>
>> Look correct?
>>
>> I made the changes to the paths in the file as well
>>
>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>
>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> two things,
>>> you wrote:
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>> and I wonder, do you mean   !   
>>>  !
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>> or
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>>
>>> when you go to the directory where you see the file: 
>>> code_for_Github.jl and you put the mouse on that file and right-click 
>>> to 
>>> see the popup menu and select the last thing "properties" there is 
>>> something that says Location,if does it not exactly match:
>>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
>>> then you have miscopied it, if it looks like this 
>>> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
>>> then you should be using (and fix the paths in the 
>>> code_for_Github.jl file, too)
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>>
>>> ---
>>>
>>>
>>> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 Sadly, I get the following response from 
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")

 *ERROR: could not copen file 
 C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
 *in include at boot.jl:261*
 *in include_from_node1 at loading.jl:320*

 On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> the "i" in include should be lower case
>
> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
>> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> (I hope that was what you meant to do).
>>
>> I got: *ERROR: UndefVarError: Include not defined*
>>
>> On F

Re: [julia-users] New to Julia - Need some basic help

2016-08-20 Thread Jeffrey Sarnoff
There is a way -- after the weekend.

On Friday, August 19, 2016 at 8:04:58 PM UTC-4, Pigskin Ablanket wrote:
>
> I probably dont want to change the input file names more than once 
> although I would be updating its data daily - and I think I know how to do 
> that (change the name of the file itself as well as in the code).  The 
> output file though - I might want to change more regularly,
>
> Also - when I ran it - a few things were deprecated - does that just mean 
> outdated?  Does updating with the new term change the file - or just the 
> underlying solving?  Not sure if you can know that or not.
>
> I was just looking for a way yo shortcut that long as heck include string 
> I have now.  Cause I will run that daily and lord knows I mistyped it like 
> 10 times.
>
> On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> You are most welcome.
>>
>> What do you want to change, if anything, from day to day, for example: 
>>  one or both input file names, the output file name, reuse some/all file 
>> names while changing the data inside?
>>
>>
>> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> IT Works   Thank you so much.  Found my error in the code.
>>>
>>> I am curious if there is a way to shortcut the command as I would want 
>>> to run this daily to test and it seems like a lot to type correctly.
>>>
>>> Thanks for the time today
>>>
>>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:

 Look correct?

 I will answer that after you try running it.


 On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>
> Thanks for providing me so much help today - much appreciated.
>
> I copied the properties right here for folder Julia  which is where 
> the code file is located:
> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>
> Interesting that it didnt bring it over as My_Documents.
>
> Based on this, I would believe the command needs to be:
> include("C:\\Users\\JHerron\\Documents\\Documents\\
> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>
> Look correct?
>
> I made the changes to the paths in the file as well
>
> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>
> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> two things,
>> you wrote:
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> and I wonder, do you mean   ! 
>>!
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>> or
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>
>> when you go to the directory where you see the file: 
>> code_for_Github.jl and you put the mouse on that file and right-click to 
>> see the popup menu and select the last thing "properties" there is 
>> something that says Location,if does it not exactly match:
>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
>> then you have miscopied it, if it looks like this 
>> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
>> then you should be using (and fix the paths in the code_for_Github.jl 
>> file, too)
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>
>> ---
>>
>>
>> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Sadly, I get the following response from 
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>>
>>> *ERROR: could not copen file 
>>> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
>>> *in include at boot.jl:261*
>>> *in include_from_node1 at loading.jl:320*
>>>
>>> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 the "i" in include should be lower case

 On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <
 pigskin...@gmail.com> wrote:

> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> (I hope that was what you meant to do).
>
> I got: *ERROR: UndefVarError: Include not defined*
>
> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson 
> wrote:
>
>>
>>
>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Sorry if Im not fol

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
I probably dont want to change the input file names more than once although 
I would be updating its data daily - and I think I know how to do that 
(change the name of the file itself as well as in the code).  The output 
file though - I might want to change more regularly,

Also - when I ran it - a few things were deprecated - does that just mean 
outdated?  Does updating with the new term change the file - or just the 
underlying solving?  Not sure if you can know that or not.

I was just looking for a way yo shortcut that long as heck include string I 
have now.  Cause I will run that daily and lord knows I mistyped it like 10 
times.

On Friday, August 19, 2016 at 7:28:40 PM UTC-4, Jeffrey Sarnoff wrote:
>
> You are most welcome.
>
> What do you want to change, if anything, from day to day, for example: 
>  one or both input file names, the output file name, reuse some/all file 
> names while changing the data inside?
>
>
> On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>>
>> IT Works   Thank you so much.  Found my error in the code.
>>
>> I am curious if there is a way to shortcut the command as I would want to 
>> run this daily to test and it seems like a lot to type correctly.
>>
>> Thanks for the time today
>>
>> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> Look correct?
>>>
>>> I will answer that after you try running it.
>>>
>>>
>>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:

 Thanks for providing me so much help today - much appreciated.

 I copied the properties right here for folder Julia  which is where the 
 code file is located:
 C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL

 Interesting that it didnt bring it over as My_Documents.

 Based on this, I would believe the command needs to be:
 include("C:\\Users\\JHerron\\Documents\\Documents\\
 Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")

 Look correct?

 I made the changes to the paths in the file as well

 "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"

 On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>
> two things,
> you wrote:
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> and I wonder, do you mean   ! 
>!
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
> or
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> when you go to the directory where you see the file: 
> code_for_Github.jl and you put the mouse on that file and right-click to 
> see the popup menu and select the last thing "properties" there is 
> something that says Location,if does it not exactly match:
> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
> then you have miscopied it, if it looks like this 
> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
> then you should be using (and fix the paths in the code_for_Github.jl 
> file, too)
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> ---
>
>
> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sadly, I get the following response from 
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>
>> *ERROR: could not copen file 
>> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
>> *in include at boot.jl:261*
>> *in include_from_node1 at loading.jl:320*
>>
>> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> the "i" in include should be lower case
>>>
>>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <
>>> pigskin...@gmail.com> wrote:
>>>
 I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
 Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 (I hope that was what you meant to do).

 I got: *ERROR: UndefVarError: Include not defined*

 On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson 
 wrote:

>
>
> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Sorry if Im not following - I tried:
>>
>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and 
>> got *ERROR: syntax: invalid escape sequence*
>>
>
> Backsla

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
You are most welcome.

What do you want to change, if anything, from day to day, for example:  one 
or both input file names, the output file name, reuse some/all file names 
while changing the data inside?


On Friday, August 19, 2016 at 7:01:54 PM UTC-4, Pigskin Ablanket wrote:
>
> IT Works   Thank you so much.  Found my error in the code.
>
> I am curious if there is a way to shortcut the command as I would want to 
> run this daily to test and it seems like a lot to type correctly.
>
> Thanks for the time today
>
> On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> Look correct?
>>
>> I will answer that after you try running it.
>>
>>
>> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Thanks for providing me so much help today - much appreciated.
>>>
>>> I copied the properties right here for folder Julia  which is where the 
>>> code file is located:
>>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>>
>>> Interesting that it didnt bring it over as My_Documents.
>>>
>>> Based on this, I would believe the command needs to be:
>>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>>
>>> Look correct?
>>>
>>> I made the changes to the paths in the file as well
>>>
>>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>>
>>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:

 two things,
 you wrote:

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 and I wonder, do you mean   !   
  !

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
 or

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

 when you go to the directory where you see the file: code_for_Github.jl 
 and you put the mouse on that file and right-click to see the popup menu 
 and select the last thing "properties" there is something that says 
 Location,if does it not exactly match:
 C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
 then you have miscopied it, if it looks like this 
 C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
 then you should be using (and fix the paths in the code_for_Github.jl 
 file, too)

  
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

 ---


 On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>
> Sadly, I get the following response from 
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>
> *ERROR: could not copen file 
> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
> *in include at boot.jl:261*
> *in include_from_node1 at loading.jl:320*
>
> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> the "i" in include should be lower case
>>
>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <
>> pigskin...@gmail.com> wrote:
>>
>>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
>>> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>> (I hope that was what you meant to do).
>>>
>>> I got: *ERROR: UndefVarError: Include not defined*
>>>
>>> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson 
>>> wrote:
>>>


 On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket 
 wrote:
>
> Sorry if Im not following - I tried:
>
> Include("C:\Users\JHerron\My_Documents\My_Documents/
> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and 
> got *ERROR: syntax: invalid escape sequence*
>

 Backslashes have to be escsped in strings, like in many computer 
 languages: change \ to \\ in the string.

 However, usually it is better to just run Julia from within the 
 path that you want rather than having to type absolute paths all of 
 the 
 time in the REPL.

 (In the long run, you usually do large-scale code development in a 
 module in the standard module search path, so you can just type "using 
 Foo".)

 (If you call include("foo.jl") from another file bar.jl, the path 
 of foo.jl is automatically relative to the path of bar.jl, so again 
 you 
 neither need nor want absolute paths.)

 For interactive code development where I need more than a few lines 
 of code, I usually use a J

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
IT Works   Thank you so much.  Found my error in the code.

I am curious if there is a way to shortcut the command as I would want to 
run this daily to test and it seems like a lot to type correctly.

Thanks for the time today

On Friday, August 19, 2016 at 6:26:34 PM UTC-4, Jeffrey Sarnoff wrote:
>
> Look correct?
>
> I will answer that after you try running it.
>
>
> On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Thanks for providing me so much help today - much appreciated.
>>
>> I copied the properties right here for folder Julia  which is where the 
>> code file is located:
>> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>>
>> Interesting that it didnt bring it over as My_Documents.
>>
>> Based on this, I would believe the command needs to be:
>> include("C:\\Users\\JHerron\\Documents\\Documents\\
>> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>
>> Look correct?
>>
>> I made the changes to the paths in the file as well
>>
>> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>>
>> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> two things,
>>> you wrote:
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>> and I wonder, do you mean   !   
>>>  !
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>>> or
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>>
>>> when you go to the directory where you see the file: code_for_Github.jl 
>>> and you put the mouse on that file and right-click to see the popup menu 
>>> and select the last thing "properties" there is something that says 
>>> Location,if does it not exactly match:
>>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
>>> then you have miscopied it, if it looks like this 
>>> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
>>> then you should be using (and fix the paths in the code_for_Github.jl 
>>> file, too)
>>>
>>>  
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>>
>>> ---
>>>
>>>
>>> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:

 Sadly, I get the following response from 
 include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")

 *ERROR: could not copen file 
 C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
 *in include at boot.jl:261*
 *in include_from_node1 at loading.jl:320*

 On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>
> the "i" in include should be lower case
>
> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
>> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> (I hope that was what you meant to do).
>>
>> I got: *ERROR: UndefVarError: Include not defined*
>>
>> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson 
>> wrote:
>>
>>>
>>>
>>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket 
>>> wrote:

 Sorry if Im not following - I tried:

 Include("C:\Users\JHerron\My_Documents\My_Documents/
 Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and 
 got *ERROR: syntax: invalid escape sequence*

>>>
>>> Backslashes have to be escsped in strings, like in many computer 
>>> languages: change \ to \\ in the string.
>>>
>>> However, usually it is better to just run Julia from within the path 
>>> that you want rather than having to type absolute paths all of the time 
>>> in 
>>> the REPL.
>>>
>>> (In the long run, you usually do large-scale code development in a 
>>> module in the standard module search path, so you can just type "using 
>>> Foo".)
>>>
>>> (If you call include("foo.jl") from another file bar.jl, the path of 
>>> foo.jl is automatically relative to the path of bar.jl, so again you 
>>> neither need nor want absolute paths.)
>>>
>>> For interactive code development where I need more than a few lines 
>>> of code, I usually use a Jupyter notebook (google "IJulia").
>>>
>>
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
WellSignificant progress 3 Blue lines of Pre-compiling things 
before an Error:

Error: LoadError: syntax: "\" is not a unary operator
in include at boot.jl:261
in include_from_node1 at loading.jl:320
while loading 
C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL\Julia\code_for_github.jl. 
in expression starting on line 38.

Picture of error posted

On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>
> two things,
> you wrote:
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> and I wonder, do you mean   ! 
>!
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
> or
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> when you go to the directory where you see the file: code_for_Github.jl 
> and you put the mouse on that file and right-click to see the popup menu 
> and select the last thing "properties" there is something that says 
> Location,if does it not exactly match:
> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
> then you have miscopied it, if it looks like this 
> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
> then you should be using (and fix the paths in the code_for_Github.jl 
> file, too)
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> ---
>
>
> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sadly, I get the following response from 
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>
>> *ERROR: could not copen file 
>> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
>> *in include at boot.jl:261*
>> *in include_from_node1 at loading.jl:320*
>>
>> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> the "i" in include should be lower case
>>>
>>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket  
>>> wrote:
>>>
 I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
 Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 (I hope that was what you meant to do).

 I got: *ERROR: UndefVarError: Include not defined*

 On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:

>
>
> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sorry if Im not following - I tried:
>>
>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got 
>> *ERROR: 
>> syntax: invalid escape sequence*
>>
>
> Backslashes have to be escsped in strings, like in many computer 
> languages: change \ to \\ in the string.
>
> However, usually it is better to just run Julia from within the path 
> that you want rather than having to type absolute paths all of the time 
> in 
> the REPL.
>
> (In the long run, you usually do large-scale code development in a 
> module in the standard module search path, so you can just type "using 
> Foo".)
>
> (If you call include("foo.jl") from another file bar.jl, the path of 
> foo.jl is automatically relative to the path of bar.jl, so again you 
> neither need nor want absolute paths.)
>
> For interactive code development where I need more than a few lines of 
> code, I usually use a Jupyter notebook (google "IJulia").
>

>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff

>
> Look correct?

I will answer that after you try running it.


On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>
> Thanks for providing me so much help today - much appreciated.
>
> I copied the properties right here for folder Julia  which is where the 
> code file is located:
> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>
> Interesting that it didnt bring it over as My_Documents.
>
> Based on this, I would believe the command needs to be:
> include("C:\\Users\\JHerron\\Documents\\Documents\\
> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>
> Look correct?
>
> I made the changes to the paths in the file as well
>
> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>
> On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> two things,
>> you wrote:
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> and I wonder, do you mean   ! 
>>!
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>> or
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>
>> when you go to the directory where you see the file: code_for_Github.jl 
>> and you put the mouse on that file and right-click to see the popup menu 
>> and select the last thing "properties" there is something that says 
>> Location,if does it not exactly match:
>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
>> then you have miscopied it, if it looks like this 
>> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
>> then you should be using (and fix the paths in the code_for_Github.jl 
>> file, too)
>>
>>  
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>>
>> ---
>>
>>
>> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Sadly, I get the following response from 
>>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>>
>>> *ERROR: could not copen file 
>>> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
>>> *in include at boot.jl:261*
>>> *in include_from_node1 at loading.jl:320*
>>>
>>> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:

 the "i" in include should be lower case

 On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket >>> > wrote:

> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> (I hope that was what you meant to do).
>
> I got: *ERROR: UndefVarError: Include not defined*
>
> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson 
> wrote:
>
>>
>>
>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Sorry if Im not following - I tried:
>>>
>>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got 
>>> *ERROR: 
>>> syntax: invalid escape sequence*
>>>
>>
>> Backslashes have to be escsped in strings, like in many computer 
>> languages: change \ to \\ in the string.
>>
>> However, usually it is better to just run Julia from within the path 
>> that you want rather than having to type absolute paths all of the time 
>> in 
>> the REPL.
>>
>> (In the long run, you usually do large-scale code development in a 
>> module in the standard module search path, so you can just type "using 
>> Foo".)
>>
>> (If you call include("foo.jl") from another file bar.jl, the path of 
>> foo.jl is automatically relative to the path of bar.jl, so again you 
>> neither need nor want absolute paths.)
>>
>> For interactive code development where I need more than a few lines 
>> of code, I usually use a Jupyter notebook (google "IJulia").
>>
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Thanks for providing me so much help today - much appreciated.

I copied the properties right here for folder Julia  which is where the 
code file is located:
C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL

Interesting that it didnt bring it over as My_Documents.

Based on this, I would believe the command needs to be:
include("C:\\Users\\JHerron\\Documents\\Documents\\
Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")

Look correct?

I made the changes to the paths in the file as well
"C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"

On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote:
>
> two things,
> you wrote:
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
> and I wonder, do you mean   ! 
>!
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
> or
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> when you go to the directory where you see the file: code_for_Github.jl 
> and you put the mouse on that file and right-click to see the popup menu 
> and select the last thing "properties" there is something that says 
> Location,if does it not exactly match:
> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
> then you have miscopied it, if it looks like this 
> C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
> then you should be using (and fix the paths in the code_for_Github.jl 
> file, too)
>
>  
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")
>
> ---
>
>
> On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sadly, I get the following response from 
>> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>
>> *ERROR: could not copen file 
>> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
>> *in include at boot.jl:261*
>> *in include_from_node1 at loading.jl:320*
>>
>> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> the "i" in include should be lower case
>>>
>>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket  
>>> wrote:
>>>
 I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
 Personal\\DFS/NHL\\Julia/code_for_Github.jl")
 (I hope that was what you meant to do).

 I got: *ERROR: UndefVarError: Include not defined*

 On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:

>
>
> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sorry if Im not following - I tried:
>>
>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got 
>> *ERROR: 
>> syntax: invalid escape sequence*
>>
>
> Backslashes have to be escsped in strings, like in many computer 
> languages: change \ to \\ in the string.
>
> However, usually it is better to just run Julia from within the path 
> that you want rather than having to type absolute paths all of the time 
> in 
> the REPL.
>
> (In the long run, you usually do large-scale code development in a 
> module in the standard module search path, so you can just type "using 
> Foo".)
>
> (If you call include("foo.jl") from another file bar.jl, the path of 
> foo.jl is automatically relative to the path of bar.jl, so again you 
> neither need nor want absolute paths.)
>
> For interactive code development where I need more than a few lines of 
> code, I usually use a Jupyter notebook (google "IJulia").
>

>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
two things,
you wrote:
 
include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
and I wonder, do you mean   !   
 !
 
include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
or
 
include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

when you go to the directory where you see the file: code_for_Github.jl and 
you put the mouse on that file and right-click to see the popup menu and 
select the last thing "properties" there is something that says Location,if 
does it not exactly match:
C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia
then you have miscopied it, if it looks like this 
C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia
then you should be using (and fix the paths in the code_for_Github.jl file, 
too)
 
include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl")

---


On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote:
>
> Sadly, I get the following response from 
> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>
> *ERROR: could not copen file 
> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
> *in include at boot.jl:261*
> *in include_from_node1 at loading.jl:320*
>
> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>>
>> the "i" in include should be lower case
>>
>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket  
>> wrote:
>>
>>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
>>> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>>> (I hope that was what you meant to do).
>>>
>>> I got: *ERROR: UndefVarError: Include not defined*
>>>
>>> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:
>>>


 On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>
> Sorry if Im not following - I tried:
>
> Include("C:\Users\JHerron\My_Documents\My_Documents/
> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got 
> *ERROR: 
> syntax: invalid escape sequence*
>

 Backslashes have to be escsped in strings, like in many computer 
 languages: change \ to \\ in the string.

 However, usually it is better to just run Julia from within the path 
 that you want rather than having to type absolute paths all of the time in 
 the REPL.

 (In the long run, you usually do large-scale code development in a 
 module in the standard module search path, so you can just type "using 
 Foo".)

 (If you call include("foo.jl") from another file bar.jl, the path of 
 foo.jl is automatically relative to the path of bar.jl, so again you 
 neither need nor want absolute paths.)

 For interactive code development where I need more than a few lines of 
 code, I usually use a Jupyter notebook (google "IJulia").

>>>
>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Sadly, I get the following response from 
include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl")

*ERROR: could not copen file 
C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl*
*in include at boot.jl:261*
*in include_from_node1 at loading.jl:320*

On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote:
>
> the "i" in include should be lower case
>
> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket  > wrote:
>
>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
>> Personal\\DFS/NHL\\Julia/code_for_Github.jl")
>> (I hope that was what you meant to do).
>>
>> I got: *ERROR: UndefVarError: Include not defined*
>>
>> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:
>>
>>>
>>>
>>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:

 Sorry if Im not following - I tried:

 Include("C:\Users\JHerron\My_Documents\My_Documents/
 Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got 
 *ERROR: 
 syntax: invalid escape sequence*

>>>
>>> Backslashes have to be escsped in strings, like in many computer 
>>> languages: change \ to \\ in the string.
>>>
>>> However, usually it is better to just run Julia from within the path 
>>> that you want rather than having to type absolute paths all of the time in 
>>> the REPL.
>>>
>>> (In the long run, you usually do large-scale code development in a 
>>> module in the standard module search path, so you can just type "using 
>>> Foo".)
>>>
>>> (If you call include("foo.jl") from another file bar.jl, the path of 
>>> foo.jl is automatically relative to the path of bar.jl, so again you 
>>> neither need nor want absolute paths.)
>>>
>>> For interactive code development where I need more than a few lines of 
>>> code, I usually use a Jupyter notebook (google "IJulia").
>>>
>>
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
the "i" in include should be lower case

On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket  wrote:

> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/Person
> al\\DFS/NHL\\Julia/code_for_Github.jl")
> (I hope that was what you meant to do).
>
> I got: *ERROR: UndefVarError: Include not defined*
>
> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:
>
>>
>>
>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Sorry if Im not following - I tried:
>>>
>>> Include("C:\Users\JHerron\My_Documents\My_Documents/Personal
>>> \DFS/NHL\Julia/code_for_Github.jl") aas shown below and got *ERROR:
>>> syntax: invalid escape sequence*
>>>
>>
>> Backslashes have to be escsped in strings, like in many computer
>> languages: change \ to \\ in the string.
>>
>> However, usually it is better to just run Julia from within the path that
>> you want rather than having to type absolute paths all of the time in the
>> REPL.
>>
>> (In the long run, you usually do large-scale code development in a module
>> in the standard module search path, so you can just type "using Foo".)
>>
>> (If you call include("foo.jl") from another file bar.jl, the path of
>> foo.jl is automatically relative to the path of bar.jl, so again you
>> neither need nor want absolute paths.)
>>
>> For interactive code development where I need more than a few lines of
>> code, I usually use a Jupyter notebook (google "IJulia").
>>
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/
Personal\\DFS/NHL\\Julia/code_for_Github.jl")
(I hope that was what you meant to do).

I got: *ERROR: UndefVarError: Include not defined*

On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:
>
>
>
> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sorry if Im not following - I tried:
>>
>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got *ERROR: 
>> syntax: invalid escape sequence*
>>
>
> Backslashes have to be escsped in strings, like in many computer 
> languages: change \ to \\ in the string.
>
> However, usually it is better to just run Julia from within the path that 
> you want rather than having to type absolute paths all of the time in the 
> REPL.
>
> (In the long run, you usually do large-scale code development in a module 
> in the standard module search path, so you can just type "using Foo".)
>
> (If you call include("foo.jl") from another file bar.jl, the path of 
> foo.jl is automatically relative to the path of bar.jl, so again you 
> neither need nor want absolute paths.)
>
> For interactive code development where I need more than a few lines of 
> code, I usually use a Jupyter notebook (google "IJulia").
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Sorry - Im not a programmer, just want to use the tool to do some 
comparative work and potential modification for other uses.  Your comments 
are probably helpful...I just dont understand them.  I agree that I want 
something shorter so I dont have to type as much - but I still cant quite 
get it to execute yet.

On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote:
>
>
>
> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>>
>> Sorry if Im not following - I tried:
>>
>> Include("C:\Users\JHerron\My_Documents\My_Documents/
>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got *ERROR: 
>> syntax: invalid escape sequence*
>>
>
> Backslashes have to be escsped in strings, like in many computer 
> languages: change \ to \\ in the string.
>
> However, usually it is better to just run Julia from within the path that 
> you want rather than having to type absolute paths all of the time in the 
> REPL.
>
> (In the long run, you usually do large-scale code development in a module 
> in the standard module search path, so you can just type "using Foo".)
>
> (If you call include("foo.jl") from another file bar.jl, the path of 
> foo.jl is automatically relative to the path of bar.jl, so again you 
> neither need nor want absolute paths.)
>
> For interactive code development where I need more than a few lines of 
> code, I usually use a Jupyter notebook (google "IJulia").
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Steven G. Johnson


On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote:
>
> Sorry if Im not following - I tried:
>
> Include("C:\Users\JHerron\My_Documents\My_Documents/
> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got *ERROR: 
> syntax: invalid escape sequence*
>

Backslashes have to be escsped in strings, like in many computer languages: 
change \ to \\ in the string.

However, usually it is better to just run Julia from within the path that 
you want rather than having to type absolute paths all of the time in the 
REPL.

(In the long run, you usually do large-scale code development in a module 
in the standard module search path, so you can just type "using Foo".)

(If you call include("foo.jl") from another file bar.jl, the path of foo.jl 
is automatically relative to the path of bar.jl, so again you neither need 
nor want absolute paths.)

For interactive code development where I need more than a few lines of 
code, I usually use a Jupyter notebook (google "IJulia").


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Sorry if Im not following - I tried:

Include("C:\Users\JHerron\My_Documents\My_Documents/
Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got *ERROR: 
syntax: invalid escape sequence*

include("C://Users//JHerron//My_Documents//My_Documents//Personal//DFS//NHL//Julia//Code_for_Github.jl")
 
and got *ERROR: could not open file 
C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl
 
in include at boot.jl:261 in include_from_node1 at loading.jl:320*

On Friday, August 19, 2016 at 12:53:46 PM UTC-4, Jeffrey Sarnoff wrote:
>
> change all the forward slashes to back slashes (or double all the forward 
> slashes) in the filepaths in code_for_Github.jl
> and when use include e.g.
> C:\Users\JHerron\My_Documents\My_Documents/Personal\DFS/NHL\Julia/code_
> for_Github.jl
>
> On Fri, Aug 19, 2016 at 12:47 PM, Pigskin Ablanket  > wrote:
>
>> Thank you so much -- Ok - getting close.  I made the changes as discussed:
>>
>> "C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/example_goalies.csv"
>>  
>> etc (goalies, skaters and output).
>>
>> I ran as follows:
>> Julia> 
>> include("C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl")
>>
>> and got back  ERROR: could not open file 
>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl
>>  
>> in include at boot.jl:261 in include_from_node1 at loading.jl:320
>>
>>
>> On Friday, August 19, 2016 at 11:56:14 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> ok -- I got it started.
>>>
>>> Because that github is not set up as a Julia package, you can put the 
>>> files (the .jl and the .csv files) anyplace that is handy, and you need to 
>>> edit the .jl file so that path_skaters, path_goalies, and path_to_output 
>>> all include the full directory path [e.g. (replace the dots) path_skaters = 
>>> "C:/Users/../example_skaters.csv"].  
>>> then to run it, 
>>> julia> include("C:/Users/../codefile.jl") # replace the dots and 
>>> 'codefile'
>>>
>>>
>>> On Friday, August 19, 2016 at 11:36:31 AM UTC-4, Jeffrey Sarnoff wrote:

 hold on -- its not open()

 On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket <
 pigskin...@gmail.com> wrote:

> I get a different error now.  Open("code_for_github.jl") returns *ERROR: 
> UndefVarError: Open not defined*
>
>
> On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> you probably should run it -- and not expect that to make any 
>> difference with your difficulty (which is either a matter of 
>> installation 
>> or, more likely, the permissions associated with your windows account 
>> [and 
>> you may need to work that out with work])
>>
>> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Ok, so it showed me the following:
>>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>>
>>> Should I still run the update?
>>>
>>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 on a Win7 system running Julia (v0.5rc2, but that should not 
 matter).


 julia> run(`cmd`)
 Microsoft Windows ... 

 # this is the directory from which Julia is being run (if you see 
 it_
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
 LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib 
  libexec  share

 # type exit() to get back to julia
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()


 julia>



 if you cannot do 
 run(`cmd`) 
 on a windows machine then the System Administrator needs to 
 reinstall or otherwise fix it
 also, just for fun.. run Pkg.update()


 On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket 
 wrote:
>
> Julia Version 0.4.6
> Commit 2e358ce (2016-06-19 17:16 UTC)
> Platform Info:
> -- System: windows (x86_64-w64-mingw32)
> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
> -- Word_Size: 64
> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
> -- LAPACK: libopenblas64_
> -- LIBM: libopenlibm
> -- LLUM: libLLUM-3.3
>
> Its work computer
>
> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> Please show me
>> julia> versioninfo()
>>
>>
>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> I get the same error:  
>>> Julia>run(`pwd`)   what I tried to execute
>>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) 
>>> in _jl_spawn at process.jl:262
>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
change all the forward slashes to back slashes (or double all the forward
slashes) in the filepaths in code_for_Github.jl
and when use include e.g.
C:\Users\JHerron\My_Documents\My_Documents/Personal\DFS/NHL\Julia/code_
for_Github.jl

On Fri, Aug 19, 2016 at 12:47 PM, Pigskin Ablanket <
pigskinablan...@gmail.com> wrote:

> Thank you so much -- Ok - getting close.  I made the changes as discussed:
>
> "C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/example_goalies.csv"
> etc (goalies, skaters and output).
>
> I ran as follows:
> Julia> include("C:/Users/JHerron/My_Documents/My_Documents/
> Personal/DFS/NHL/Julia/code_for_Github.jl")
>
> and got back  ERROR: could not open file
> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl
> in include at boot.jl:261 in include_from_node1 at loading.jl:320
>
>
> On Friday, August 19, 2016 at 11:56:14 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> ok -- I got it started.
>>
>> Because that github is not set up as a Julia package, you can put the
>> files (the .jl and the .csv files) anyplace that is handy, and you need to
>> edit the .jl file so that path_skaters, path_goalies, and path_to_output
>> all include the full directory path [e.g. (replace the dots) path_skaters =
>> "C:/Users/../example_skaters.csv"].
>> then to run it,
>> julia> include("C:/Users/../codefile.jl") # replace the dots and
>> 'codefile'
>>
>>
>> On Friday, August 19, 2016 at 11:36:31 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> hold on -- its not open()
>>>
>>> On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket >> > wrote:
>>>
 I get a different error now.  Open("code_for_github.jl") returns *ERROR:
 UndefVarError: Open not defined*


 On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>
> you probably should run it -- and not expect that to make any
> difference with your difficulty (which is either a matter of installation
> or, more likely, the permissions associated with your windows account [and
> you may need to work that out with work])
>
> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket
> wrote:
>>
>> Ok, so it showed me the following:
>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>
>> Should I still run the update?
>>
>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff
>> wrote:
>>>
>>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>>
>>>
>>> julia> run(`cmd`)
>>> Microsoft Windows ...
>>>
>>> # this is the directory from which Julia is being run (if you see it_
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib
>>>  libexec  share
>>>
>>> # type exit() to get back to julia
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>>
>>>
>>> julia>
>>>
>>>
>>>
>>> if you cannot do
>>> run(`cmd`)
>>> on a windows machine then the System Administrator needs to
>>> reinstall or otherwise fix it
>>> also, just for fun.. run Pkg.update()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket
>>> wrote:

 Julia Version 0.4.6
 Commit 2e358ce (2016-06-19 17:16 UTC)
 Platform Info:
 -- System: windows (x86_64-w64-mingw32)
 -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
 -- Word_Size: 64
 -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
 -- LAPACK: libopenblas64_
 -- LIBM: libopenlibm
 -- LLUM: libLLUM-3.3

 Its work computer

 On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff
 wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket
> wrote:
>>
>> I get the same error:
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT)
>> in _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff
>> wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not
>>> single quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket
>>> wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got:
 Error: could not spawn `pwd`: no such file or directory (ENOENT) in
 _jl_spawn at process.jl:262

 No idea what that means :(

 Once again - fe

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Sorry - slow learner group here.  Change ALL (in the skaters path, output, 
and include code?)

On Friday, August 19, 2016 at 12:53:46 PM UTC-4, Jeffrey Sarnoff wrote:
>
> change all the forward slashes to back slashes (or double all the forward 
> slashes) in the filepaths in code_for_Github.jl
> and when use include e.g.
> C:\Users\JHerron\My_Documents\My_Documents/Personal\DFS/NHL\Julia/code_
> for_Github.jl
>
> On Fri, Aug 19, 2016 at 12:47 PM, Pigskin Ablanket  > wrote:
>
>> Thank you so much -- Ok - getting close.  I made the changes as discussed:
>>
>> "C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/example_goalies.csv"
>>  
>> etc (goalies, skaters and output).
>>
>> I ran as follows:
>> Julia> 
>> include("C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl")
>>
>> and got back  ERROR: could not open file 
>> C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl
>>  
>> in include at boot.jl:261 in include_from_node1 at loading.jl:320
>>
>>
>> On Friday, August 19, 2016 at 11:56:14 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> ok -- I got it started.
>>>
>>> Because that github is not set up as a Julia package, you can put the 
>>> files (the .jl and the .csv files) anyplace that is handy, and you need to 
>>> edit the .jl file so that path_skaters, path_goalies, and path_to_output 
>>> all include the full directory path [e.g. (replace the dots) path_skaters = 
>>> "C:/Users/../example_skaters.csv"].  
>>> then to run it, 
>>> julia> include("C:/Users/../codefile.jl") # replace the dots and 
>>> 'codefile'
>>>
>>>
>>> On Friday, August 19, 2016 at 11:36:31 AM UTC-4, Jeffrey Sarnoff wrote:

 hold on -- its not open()

 On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket <
 pigskin...@gmail.com> wrote:

> I get a different error now.  Open("code_for_github.jl") returns *ERROR: 
> UndefVarError: Open not defined*
>
>
> On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> you probably should run it -- and not expect that to make any 
>> difference with your difficulty (which is either a matter of 
>> installation 
>> or, more likely, the permissions associated with your windows account 
>> [and 
>> you may need to work that out with work])
>>
>> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Ok, so it showed me the following:
>>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>>
>>> Should I still run the update?
>>>
>>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 on a Win7 system running Julia (v0.5rc2, but that should not 
 matter).


 julia> run(`cmd`)
 Microsoft Windows ... 

 # this is the directory from which Julia is being run (if you see 
 it_
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
 LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib 
  libexec  share

 # type exit() to get back to julia
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()


 julia>



 if you cannot do 
 run(`cmd`) 
 on a windows machine then the System Administrator needs to 
 reinstall or otherwise fix it
 also, just for fun.. run Pkg.update()


 On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket 
 wrote:
>
> Julia Version 0.4.6
> Commit 2e358ce (2016-06-19 17:16 UTC)
> Platform Info:
> -- System: windows (x86_64-w64-mingw32)
> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
> -- Word_Size: 64
> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
> -- LAPACK: libopenblas64_
> -- LIBM: libopenlibm
> -- LLUM: libLLUM-3.3
>
> Its work computer
>
> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> Please show me
>> julia> versioninfo()
>>
>>
>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> I get the same error:  
>>> Julia>run(`pwd`)   what I tried to execute
>>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) 
>>> in _jl_spawn at process.jl:262
>>>
>>> I am attaching a screen shot
>>>
>>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 what do you see with this (in Julia, note the backtics are not 
 single quotes)
 julia> run(`pwd`)

 On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin 
 Ab

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Thank you so much -- Ok - getting close.  I made the changes as discussed:

"C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/example_goalies.csv"
 
etc (goalies, skaters and output).

I ran as follows:
Julia> 
include("C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl")

and got back  ERROR: could not open file 
C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia/code_for_Github.jl
 
in include at boot.jl:261 in include_from_node1 at loading.jl:320


On Friday, August 19, 2016 at 11:56:14 AM UTC-4, Jeffrey Sarnoff wrote:
>
> ok -- I got it started.
>
> Because that github is not set up as a Julia package, you can put the 
> files (the .jl and the .csv files) anyplace that is handy, and you need to 
> edit the .jl file so that path_skaters, path_goalies, and path_to_output 
> all include the full directory path [e.g. (replace the dots) path_skaters = 
> "C:/Users/../example_skaters.csv"].  
> then to run it, 
> julia> include("C:/Users/../codefile.jl") # replace the dots and 'codefile'
>
>
> On Friday, August 19, 2016 at 11:36:31 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> hold on -- its not open()
>>
>> On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket > > wrote:
>>
>>> I get a different error now.  Open("code_for_github.jl") returns *ERROR: 
>>> UndefVarError: Open not defined*
>>>
>>>
>>> On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:

 you probably should run it -- and not expect that to make any 
 difference with your difficulty (which is either a matter of installation 
 or, more likely, the permissions associated with your windows account [and 
 you may need to work that out with work])

 On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>
> Ok, so it showed me the following:
> C:\Users\Name\AppData\Local\Julia-0.4.6
>
> Should I still run the update?
>
> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>
>>
>> julia> run(`cmd`)
>> Microsoft Windows ... 
>>
>> # this is the directory from which Julia is being run (if you see it_
>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib 
>>  libexec  share
>>
>> # type exit() to get back to julia
>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>
>>
>> julia>
>>
>>
>>
>> if you cannot do 
>> run(`cmd`) 
>> on a windows machine then the System Administrator needs to reinstall 
>> or otherwise fix it
>> also, just for fun.. run Pkg.update()
>>
>>
>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Julia Version 0.4.6
>>> Commit 2e358ce (2016-06-19 17:16 UTC)
>>> Platform Info:
>>> -- System: windows (x86_64-w64-mingw32)
>>> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
>>> -- Word_Size: 64
>>> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
>>> -- LAPACK: libopenblas64_
>>> -- LIBM: libopenlibm
>>> -- LLUM: libLLUM-3.3
>>>
>>> Its work computer
>>>
>>> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff 
>>> wrote:

 Please show me
 julia> versioninfo()


 On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
 wrote:
>
> I get the same error:  
> Julia>run(`pwd`)   what I tried to execute
> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) 
> in _jl_spawn at process.jl:262
>
> I am attaching a screen shot
>
> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff 
> wrote:
>>
>> what do you see with this (in Julia, note the backtics are not 
>> single quotes)
>> julia> run(`pwd`)
>>
>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Ok - This makes sense to me...but:
>>>
>>> When I proceeded with julia>;pwd this is the response I got: 
>>> Error: could not spawn `pwd`: no such file or directory (ENOENT) in 
>>> _jl_spawn at process.jl:262
>>>
>>> No idea what that means :(
>>>
>>> Once again - feel like my questions are probably introductory, 
>>> and I appreciate your time.
>>>
>>> The actual name of the code I am trying to open is titled 
>>> "Code_for_Github.jl"
>>>
>>>
>>>
>>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey 
>>> wrote:

 Hello there,
 I think you need to change to the directory where your file is 

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
ok -- I got it started.

Because that github is not set up as a Julia package, you can put the files 
(the .jl and the .csv files) anyplace that is handy, and you need to edit 
the .jl file so that path_skaters, path_goalies, and path_to_output all 
include the full directory path [e.g. (replace the dots) path_skaters = 
"C:/Users/../example_skaters.csv"].  
then to run it, 
julia> include("C:/Users/../codefile.jl") # replace the dots and 'codefile'


On Friday, August 19, 2016 at 11:36:31 AM UTC-4, Jeffrey Sarnoff wrote:
>
> hold on -- its not open()
>
> On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket <
> pigskinablan...@gmail.com> wrote:
>
>> I get a different error now.  Open("code_for_github.jl") returns *ERROR: 
>> UndefVarError: Open not defined*
>>
>>
>> On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> you probably should run it -- and not expect that to make any difference 
>>> with your difficulty (which is either a matter of installation or, more 
>>> likely, the permissions associated with your windows account [and you may 
>>> need to work that out with work])
>>>
>>> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:

 Ok, so it showed me the following:
 C:\Users\Name\AppData\Local\Julia-0.4.6

 Should I still run the update?

 On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>
> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>
>
> julia> run(`cmd`)
> Microsoft Windows ... 
>
> # this is the directory from which Julia is being run (if you see it_
> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>  share
>
> # type exit() to get back to julia
> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>
>
> julia>
>
>
>
> if you cannot do 
> run(`cmd`) 
> on a windows machine then the System Administrator needs to reinstall 
> or otherwise fix it
> also, just for fun.. run Pkg.update()
>
>
> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Julia Version 0.4.6
>> Commit 2e358ce (2016-06-19 17:16 UTC)
>> Platform Info:
>> -- System: windows (x86_64-w64-mingw32)
>> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
>> -- Word_Size: 64
>> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
>> -- LAPACK: libopenblas64_
>> -- LIBM: libopenlibm
>> -- LLUM: libLLUM-3.3
>>
>> Its work computer
>>
>> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff 
>> wrote:
>>>
>>> Please show me
>>> julia> versioninfo()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 I get the same error:  
 Julia>run(`pwd`)   what I tried to execute
 ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
 _jl_spawn at process.jl:262

 I am attaching a screen shot

 On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff 
 wrote:
>
> what do you see with this (in Julia, note the backtics are not 
> single quotes)
> julia> run(`pwd`)
>
> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> Ok - This makes sense to me...but:
>>
>> When I proceeded with julia>;pwd this is the response I got: 
>> Error: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> No idea what that means :(
>>
>> Once again - feel like my questions are probably introductory, 
>> and I appreciate your time.
>>
>> The actual name of the code I am trying to open is titled 
>> "Code_for_Github.jl"
>>
>>
>>
>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey 
>> wrote:
>>>
>>> Hello there,
>>> I think you need to change to the directory where your file is 
>>> present.
>>>
>>> You can try to use command line within julia like:
>>> julia > ;pwd #Check your present working 
>>> directory
>>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>>
>>> OR 
>>> try to give the absolute path of the directory (Assume your file 
>>> is present in home directory on linux)
>>>
>>> julia>open("/home/Filename.jl")
>>>
>>> I hope it helps :)
>>>
>>>
>>> *Yours Sincerely,*
>>> *Ayush Pandey* * *
>>> ayush-iitkgp.github.io/
>>>
>>> On F

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
hold on -- its not open()

On Fri, Aug 19, 2016 at 11:35 AM, Pigskin Ablanket <
pigskinablan...@gmail.com> wrote:

> I get a different error now.  Open("code_for_github.jl") returns *ERROR:
> UndefVarError: Open not defined*
>
>
> On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> you probably should run it -- and not expect that to make any difference
>> with your difficulty (which is either a matter of installation or, more
>> likely, the permissions associated with your windows account [and you may
>> need to work that out with work])
>>
>> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Ok, so it showed me the following:
>>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>>
>>> Should I still run the update?
>>>
>>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:

 on a Win7 system running Julia (v0.5rc2, but that should not matter).


 julia> run(`cmd`)
 Microsoft Windows ...

 # this is the directory from which Julia is being run (if you see it_
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
 LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec
  share

 # type exit() to get back to julia
 C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()


 julia>



 if you cannot do
 run(`cmd`)
 on a windows machine then the System Administrator needs to reinstall
 or otherwise fix it
 also, just for fun.. run Pkg.update()


 On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:
>
> Julia Version 0.4.6
> Commit 2e358ce (2016-06-19 17:16 UTC)
> Platform Info:
> -- System: windows (x86_64-w64-mingw32)
> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
> -- Word_Size: 64
> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
> -- LAPACK: libopenblas64_
> -- LIBM: libopenlibm
> -- LLUM: libLLUM-3.3
>
> Its work computer
>
> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> Please show me
>> julia> versioninfo()
>>
>>
>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket
>> wrote:
>>>
>>> I get the same error:
>>> Julia>run(`pwd`)   what I tried to execute
>>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in
>>> _jl_spawn at process.jl:262
>>>
>>> I am attaching a screen shot
>>>
>>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff
>>> wrote:

 what do you see with this (in Julia, note the backtics are not
 single quotes)
 julia> run(`pwd`)

 On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket
 wrote:
>
> Ok - This makes sense to me...but:
>
> When I proceeded with julia>;pwd this is the response I got:
> Error: could not spawn `pwd`: no such file or directory (ENOENT) in
> _jl_spawn at process.jl:262
>
> No idea what that means :(
>
> Once again - feel like my questions are probably introductory, and
> I appreciate your time.
>
> The actual name of the code I am trying to open is titled
> "Code_for_Github.jl"
>
>
>
> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>
>> Hello there,
>> I think you need to change to the directory where your file is
>> present.
>>
>> You can try to use command line within julia like:
>> julia > ;pwd #Check your present working directory
>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>
>> OR
>> try to give the absolute path of the directory (Assume your file
>> is present in home directory on linux)
>>
>> julia>open("/home/Filename.jl")
>>
>> I hope it helps :)
>>
>>
>> *Yours Sincerely,*
>> *Ayush Pandey* * *
>> ayush-iitkgp.github.io/
>>
>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
>> pigskin...@gmail.com> wrote:
>>
>>> Ok, I am trying to familiarize myself with a study published
>>> using Julia.  I have Julia up and running, but cant seep to get the 
>>> actual
>>> code open.
>>>
>>> Here is what I done so far:
>>>
>>> julia> Pkg.add("JuMP")
>>> julia> Pkg.add("DataFrames")
>>> julia> Pkg.add("GLPKMathProgInterface")
>>>
>>> I believe I successfully added the requisite programs.  all good.  
>>> Now I downloaded the code via CSV.
>>>
>>> It contains the Code in a .jl file, license file, readme file and a 
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
I get a different error now.  Open("code_for_github.jl") returns *ERROR: 
UndefVarError: Open not defined*

On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>
> you probably should run it -- and not expect that to make any difference 
> with your difficulty (which is either a matter of installation or, more 
> likely, the permissions associated with your windows account [and you may 
> need to work that out with work])
>
> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok, so it showed me the following:
>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>
>> Should I still run the update?
>>
>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>>
>>>
>>> julia> run(`cmd`)
>>> Microsoft Windows ... 
>>>
>>> # this is the directory from which Julia is being run (if you see it_
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>>>  share
>>>
>>> # type exit() to get back to julia
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>>
>>>
>>> julia>
>>>
>>>
>>>
>>> if you cannot do 
>>> run(`cmd`) 
>>> on a windows machine then the System Administrator needs to reinstall or 
>>> otherwise fix it
>>> also, just for fun.. run Pkg.update()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:

 Julia Version 0.4.6
 Commit 2e358ce (2016-06-19 17:16 UTC)
 Platform Info:
 -- System: windows (x86_64-w64-mingw32)
 -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
 -- Word_Size: 64
 -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
 -- LAPACK: libopenblas64_
 -- LIBM: libopenlibm
 -- LLUM: libLLUM-3.3

 Its work computer

 On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> I get the same error:  
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not 
>>> single quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got: Error: 
 could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn 
 at 
 process.jl:262

 No idea what that means :(

 Once again - feel like my questions are probably introductory, and 
 I appreciate your time.

 The actual name of the code I am trying to open is titled 
 "Code_for_Github.jl"



 On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is 
> present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file 
> is present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> Ok, I am trying to familiarize myself with a study published 
>> using Julia.  I have Julia up and running, but cant seep to get the 
>> actual 
>> code open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  
>> Now I downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a 
>> couple excel CSV files needed.
>>
>> I tried top open the file using Julia> Open("Filename.jl") and got 
>> the following error:
>>
>> *No such file or directory in open at iostream.jl:90  **i

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Given the above directory - where do I need to put the code file 
(code_for_Github.jl) so that Julia will see it to open it?  Is the command 
simply Open("code_for_Github.jl")

On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>
> you probably should run it -- and not expect that to make any difference 
> with your difficulty (which is either a matter of installation or, more 
> likely, the permissions associated with your windows account [and you may 
> need to work that out with work])
>
> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok, so it showed me the following:
>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>
>> Should I still run the update?
>>
>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>>
>>>
>>> julia> run(`cmd`)
>>> Microsoft Windows ... 
>>>
>>> # this is the directory from which Julia is being run (if you see it_
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>>>  share
>>>
>>> # type exit() to get back to julia
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>>
>>>
>>> julia>
>>>
>>>
>>>
>>> if you cannot do 
>>> run(`cmd`) 
>>> on a windows machine then the System Administrator needs to reinstall or 
>>> otherwise fix it
>>> also, just for fun.. run Pkg.update()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:

 Julia Version 0.4.6
 Commit 2e358ce (2016-06-19 17:16 UTC)
 Platform Info:
 -- System: windows (x86_64-w64-mingw32)
 -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
 -- Word_Size: 64
 -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
 -- LAPACK: libopenblas64_
 -- LIBM: libopenlibm
 -- LLUM: libLLUM-3.3

 Its work computer

 On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> I get the same error:  
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not 
>>> single quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got: Error: 
 could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn 
 at 
 process.jl:262

 No idea what that means :(

 Once again - feel like my questions are probably introductory, and 
 I appreciate your time.

 The actual name of the code I am trying to open is titled 
 "Code_for_Github.jl"



 On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is 
> present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file 
> is present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> Ok, I am trying to familiarize myself with a study published 
>> using Julia.  I have Julia up and running, but cant seep to get the 
>> actual 
>> code open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  
>> Now I downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a 
>> couple excel CSV files needed.
>>
>> I tried top open the file using Julia> Open("Filename.jl") and got 
>> the following error:
>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Steven G. Johnson


On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>
> Ok - This makes sense to me...but:
>
> When I proceeded with julia>;pwd this is the response I got: Error: could 
> not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
> process.jl:262
>

Typing

; command


in the julia REPL (the julia> prompt) executes a command in the operating 
system's shell.   pwd is a command in the unix shell, so it won't work in 
Windows where the shell is the DOS shell (cmd.exe), which is the reason for 
your error.   Similarly for run(`pwd`).

If you want to write portable code, you should generally avoid the OS shell 
entirely (and in any case the semicolon trick only works in the REPL).  For 
example, you can get the current directory via the pwd() function in Julia.


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Running update.  Work wont be an issue- he will help, but he is also new to 
Julia so a little bit of trial by fire :)   I appreciate the help very 
much.  If this doesnt work - I will uninstall and then re-install and 
hopefully get this file to run at least once :)

On Friday, August 19, 2016 at 11:15:05 AM UTC-4, Jeffrey Sarnoff wrote:
>
> you probably should run it -- and not expect that to make any difference 
> with your difficulty (which is either a matter of installation or, more 
> likely, the permissions associated with your windows account [and you may 
> need to work that out with work])
>
> On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok, so it showed me the following:
>> C:\Users\Name\AppData\Local\Julia-0.4.6
>>
>> Should I still run the update?
>>
>> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>>
>>>
>>> julia> run(`cmd`)
>>> Microsoft Windows ... 
>>>
>>> # this is the directory from which Julia is being run (if you see it_
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>>>  share
>>>
>>> # type exit() to get back to julia
>>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>>
>>>
>>> julia>
>>>
>>>
>>>
>>> if you cannot do 
>>> run(`cmd`) 
>>> on a windows machine then the System Administrator needs to reinstall or 
>>> otherwise fix it
>>> also, just for fun.. run Pkg.update()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:

 Julia Version 0.4.6
 Commit 2e358ce (2016-06-19 17:16 UTC)
 Platform Info:
 -- System: windows (x86_64-w64-mingw32)
 -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
 -- Word_Size: 64
 -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
 -- LAPACK: libopenblas64_
 -- LIBM: libopenlibm
 -- LLUM: libLLUM-3.3

 Its work computer

 On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket 
> wrote:
>>
>> I get the same error:  
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not 
>>> single quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
>>> wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got: Error: 
 could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn 
 at 
 process.jl:262

 No idea what that means :(

 Once again - feel like my questions are probably introductory, and 
 I appreciate your time.

 The actual name of the code I am trying to open is titled 
 "Code_for_Github.jl"



 On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is 
> present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file 
> is present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> Ok, I am trying to familiarize myself with a study published 
>> using Julia.  I have Julia up and running, but cant seep to get the 
>> actual 
>> code open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  
>> Now I downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a 
>> couple excel CSV files needed.
>>
>> I tried top open t

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
you probably should run it -- and not expect that to make any difference 
with your difficulty (which is either a matter of installation or, more 
likely, the permissions associated with your windows account [and you may 
need to work that out with work])

On Friday, August 19, 2016 at 10:56:39 AM UTC-4, Pigskin Ablanket wrote:
>
> Ok, so it showed me the following:
> C:\Users\Name\AppData\Local\Julia-0.4.6
>
> Should I still run the update?
>
> On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>>
>>
>> julia> run(`cmd`)
>> Microsoft Windows ... 
>>
>> # this is the directory from which Julia is being run (if you see it_
>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
>> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>>  share
>>
>> # type exit() to get back to julia
>> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>>
>>
>> julia>
>>
>>
>>
>> if you cannot do 
>> run(`cmd`) 
>> on a windows machine then the System Administrator needs to reinstall or 
>> otherwise fix it
>> also, just for fun.. run Pkg.update()
>>
>>
>> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Julia Version 0.4.6
>>> Commit 2e358ce (2016-06-19 17:16 UTC)
>>> Platform Info:
>>> -- System: windows (x86_64-w64-mingw32)
>>> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
>>> -- Word_Size: 64
>>> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
>>> -- LAPACK: libopenblas64_
>>> -- LIBM: libopenlibm
>>> -- LLUM: libLLUM-3.3
>>>
>>> Its work computer
>>>
>>> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:

 Please show me
 julia> versioninfo()


 On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:
>
> I get the same error:  
> Julia>run(`pwd`)   what I tried to execute
> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
> _jl_spawn at process.jl:262
>
> I am attaching a screen shot
>
> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> what do you see with this (in Julia, note the backtics are not single 
>> quotes)
>> julia> run(`pwd`)
>>
>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket 
>> wrote:
>>>
>>> Ok - This makes sense to me...but:
>>>
>>> When I proceeded with julia>;pwd this is the response I got: Error: 
>>> could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn 
>>> at 
>>> process.jl:262
>>>
>>> No idea what that means :(
>>>
>>> Once again - feel like my questions are probably introductory, and I 
>>> appreciate your time.
>>>
>>> The actual name of the code I am trying to open is titled 
>>> "Code_for_Github.jl"
>>>
>>>
>>>
>>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:

 Hello there,
 I think you need to change to the directory where your file is 
 present.

 You can try to use command line within julia like:
 julia > ;pwd #Check your present working directory
 julia> ;cd /path_to_the_directory_where_your_file_is_present

 OR 
 try to give the absolute path of the directory (Assume your file is 
 present in home directory on linux)

 julia>open("/home/Filename.jl")

 I hope it helps :)


 *Yours Sincerely,*
 *Ayush Pandey* * *
 ayush-iitkgp.github.io/

 On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
 pigskin...@gmail.com> wrote:

> Ok, I am trying to familiarize myself with a study published using 
> Julia.  I have Julia up and running, but cant seep to get the actual 
> code 
> open.
>
> Here is what I done so far:
>
> julia> Pkg.add("JuMP")
> julia> Pkg.add("DataFrames")
> julia> Pkg.add("GLPKMathProgInterface")
>
> I believe I successfully added the requisite programs.  all good.  
> Now I downloaded the code via CSV.  
>
> It contains the Code in a .jl file, license file, readme file and a 
> couple excel CSV files needed.
>
> I tried top open the file using Julia> Open("Filename.jl") and got 
> the following error:
>
> *No such file or directory in open at iostream.jl:90  **in open at 
> **iostream.jl:99*
>
> My sense is that I dont have the file in the right directory, but 
> this is where I get over my skis.
>
> Is that the issue?  How do I make Julia find the file?  Sorry or such 
> basic questions 
>
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Ok, so it showed me the following:
C:\Users\Name\AppData\Local\Julia-0.4.6

Should I still run the update?

On Friday, August 19, 2016 at 10:48:41 AM UTC-4, Jeffrey Sarnoff wrote:
>
> on a Win7 system running Julia (v0.5rc2, but that should not matter).
>
>
> julia> run(`cmd`)
> Microsoft Windows ... 
>
> # this is the directory from which Julia is being run (if you see it_
> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
> LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec 
>  share
>
> # type exit() to get back to julia
> C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()
>
>
> julia>
>
>
>
> if you cannot do 
> run(`cmd`) 
> on a windows machine then the System Administrator needs to reinstall or 
> otherwise fix it
> also, just for fun.. run Pkg.update()
>
>
> On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Julia Version 0.4.6
>> Commit 2e358ce (2016-06-19 17:16 UTC)
>> Platform Info:
>> -- System: windows (x86_64-w64-mingw32)
>> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
>> -- Word_Size: 64
>> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
>> -- LAPACK: libopenblas64_
>> -- LIBM: libopenlibm
>> -- LLUM: libLLUM-3.3
>>
>> Its work computer
>>
>> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> Please show me
>>> julia> versioninfo()
>>>
>>>
>>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:

 I get the same error:  
 Julia>run(`pwd`)   what I tried to execute
 ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
 _jl_spawn at process.jl:262

 I am attaching a screen shot

 On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>
> what do you see with this (in Julia, note the backtics are not single 
> quotes)
> julia> run(`pwd`)
>
> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok - This makes sense to me...but:
>>
>> When I proceeded with julia>;pwd this is the response I got: Error: 
>> could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn 
>> at 
>> process.jl:262
>>
>> No idea what that means :(
>>
>> Once again - feel like my questions are probably introductory, and I 
>> appreciate your time.
>>
>> The actual name of the code I am trying to open is titled 
>> "Code_for_Github.jl"
>>
>>
>>
>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>>
>>> Hello there,
>>> I think you need to change to the directory where your file is 
>>> present.
>>>
>>> You can try to use command line within julia like:
>>> julia > ;pwd #Check your present working directory
>>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>>
>>> OR 
>>> try to give the absolute path of the directory (Assume your file is 
>>> present in home directory on linux)
>>>
>>> julia>open("/home/Filename.jl")
>>>
>>> I hope it helps :)
>>>
>>>
>>> *Yours Sincerely,*
>>> *Ayush Pandey* * *
>>> ayush-iitkgp.github.io/
>>>
>>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
>>> pigskin...@gmail.com> wrote:
>>>
 Ok, I am trying to familiarize myself with a study published using 
 Julia.  I have Julia up and running, but cant seep to get the actual 
 code 
 open.

 Here is what I done so far:

 julia> Pkg.add("JuMP")
 julia> Pkg.add("DataFrames")
 julia> Pkg.add("GLPKMathProgInterface")

 I believe I successfully added the requisite programs.  all good.  Now 
 I downloaded the code via CSV.  

 It contains the Code in a .jl file, license file, readme file and a 
 couple excel CSV files needed.

 I tried top open the file using Julia> Open("Filename.jl") and got the 
 following error:

 *No such file or directory in open at iostream.jl:90  **in open at 
 **iostream.jl:99*

 My sense is that I dont have the file in the right directory, but this 
 is where I get over my skis.

 Is that the issue?  How do I make Julia find the file?  Sorry or such 
 basic questions 


>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
on a Win7 system running Julia (v0.5rc2, but that should not matter).


julia> run(`cmd`)
Microsoft Windows ... 

# this is the directory from which Julia is being run (if you see it_
C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>ls
LICENSE.md  Uninstall.exe  bin  etc  include  julia.lnk  lib  libexec  share

# type exit() to get back to julia
C:\Users\Jeff\AppData\Local\Julia-0.5.0-rc2>exit()


julia>



if you cannot do 
run(`cmd`) 
on a windows machine then the System Administrator needs to reinstall or 
otherwise fix it
also, just for fun.. run Pkg.update()


On Friday, August 19, 2016 at 10:16:22 AM UTC-4, Pigskin Ablanket wrote:
>
> Julia Version 0.4.6
> Commit 2e358ce (2016-06-19 17:16 UTC)
> Platform Info:
> -- System: windows (x86_64-w64-mingw32)
> -- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
> -- Word_Size: 64
> -- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
> -- LAPACK: libopenblas64_
> -- LIBM: libopenlibm
> -- LLUM: libLLUM-3.3
>
> Its work computer
>
> On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> Please show me
>> julia> versioninfo()
>>
>>
>> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:
>>>
>>> I get the same error:  
>>> Julia>run(`pwd`)   what I tried to execute
>>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>>> _jl_spawn at process.jl:262
>>>
>>> I am attaching a screen shot
>>>
>>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:

 what do you see with this (in Julia, note the backtics are not single 
 quotes)
 julia> run(`pwd`)

 On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>
> Ok - This makes sense to me...but:
>
> When I proceeded with julia>;pwd this is the response I got: Error: 
> could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
> process.jl:262
>
> No idea what that means :(
>
> Once again - feel like my questions are probably introductory, and I 
> appreciate your time.
>
> The actual name of the code I am trying to open is titled 
> "Code_for_Github.jl"
>
>
>
> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>
>> Hello there,
>> I think you need to change to the directory where your file is 
>> present.
>>
>> You can try to use command line within julia like:
>> julia > ;pwd #Check your present working directory
>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>
>> OR 
>> try to give the absolute path of the directory (Assume your file is 
>> present in home directory on linux)
>>
>> julia>open("/home/Filename.jl")
>>
>> I hope it helps :)
>>
>>
>> *Yours Sincerely,*
>> *Ayush Pandey* * *
>> ayush-iitkgp.github.io/
>>
>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
>> pigskin...@gmail.com> wrote:
>>
>>> Ok, I am trying to familiarize myself with a study published using 
>>> Julia.  I have Julia up and running, but cant seep to get the actual 
>>> code 
>>> open.
>>>
>>> Here is what I done so far:
>>>
>>> julia> Pkg.add("JuMP")
>>> julia> Pkg.add("DataFrames")
>>> julia> Pkg.add("GLPKMathProgInterface")
>>>
>>> I believe I successfully added the requisite programs.  all good.  Now 
>>> I downloaded the code via CSV.  
>>>
>>> It contains the Code in a .jl file, license file, readme file and a 
>>> couple excel CSV files needed.
>>>
>>> I tried top open the file using Julia> Open("Filename.jl") and got the 
>>> following error:
>>>
>>> *No such file or directory in open at iostream.jl:90  **in open at 
>>> **iostream.jl:99*
>>>
>>> My sense is that I dont have the file in the right directory, but this 
>>> is where I get over my skis.
>>>
>>> Is that the issue?  How do I make Julia find the file?  Sorry or such 
>>> basic questions 
>>>
>>>
>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Julia Version 0.4.6
Commit 2e358ce (2016-06-19 17:16 UTC)
Platform Info:
-- System: windows (x86_64-w64-mingw32)
-- CPU: Intel(R) Core (TM) i5-4310U CPU @ 2.00GHz
-- Word_Size: 64
-- BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
-- LAPACK: libopenblas64_
-- LIBM: libopenlibm
-- LLUM: libLLUM-3.3

Its work computer

On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:
>>
>> I get the same error:  
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not single 
>>> quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got: Error: 
 could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
 process.jl:262

 No idea what that means :(

 Once again - feel like my questions are probably introductory, and I 
 appreciate your time.

 The actual name of the code I am trying to open is titled 
 "Code_for_Github.jl"



 On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file is 
> present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> Ok, I am trying to familiarize myself with a study published using 
>> Julia.  I have Julia up and running, but cant seep to get the actual 
>> code 
>> open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  Now I 
>> downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a 
>> couple excel CSV files needed.
>>
>> I tried top open the file using Julia> Open("Filename.jl") and got the 
>> following error:
>>
>> *No such file or directory in open at iostream.jl:90  **in open at 
>> **iostream.jl:99*
>>
>> My sense is that I dont have the file in the right directory, but this 
>> is where I get over my skis.
>>
>> Is that the issue?  How do I make Julia find the file?  Sorry or such 
>> basic questions 
>>
>>
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
Please show me
julia> versioninfo()


On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:
>
> I get the same error:  
> Julia>run(`pwd`)   what I tried to execute
> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
> _jl_spawn at process.jl:262
>
> I am attaching a screen shot
>
> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>
>> what do you see with this (in Julia, note the backtics are not single 
>> quotes)
>> julia> run(`pwd`)
>>
>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>>>
>>> Ok - This makes sense to me...but:
>>>
>>> When I proceeded with julia>;pwd this is the response I got: Error: 
>>> could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
>>> process.jl:262
>>>
>>> No idea what that means :(
>>>
>>> Once again - feel like my questions are probably introductory, and I 
>>> appreciate your time.
>>>
>>> The actual name of the code I am trying to open is titled 
>>> "Code_for_Github.jl"
>>>
>>>
>>>
>>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:

 Hello there,
 I think you need to change to the directory where your file is present.

 You can try to use command line within julia like:
 julia > ;pwd #Check your present working directory
 julia> ;cd /path_to_the_directory_where_your_file_is_present

 OR 
 try to give the absolute path of the directory (Assume your file is 
 present in home directory on linux)

 julia>open("/home/Filename.jl")

 I hope it helps :)


 *Yours Sincerely,*
 *Ayush Pandey* * *
 ayush-iitkgp.github.io/

 On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket >>> > wrote:

> Ok, I am trying to familiarize myself with a study published using 
> Julia.  I have Julia up and running, but cant seep to get the actual code 
> open.
>
> Here is what I done so far:
>
> julia> Pkg.add("JuMP")
> julia> Pkg.add("DataFrames")
> julia> Pkg.add("GLPKMathProgInterface")
>
> I believe I successfully added the requisite programs.  all good.  Now I 
> downloaded the code via CSV.  
>
> It contains the Code in a .jl file, license file, readme file and a 
> couple excel CSV files needed.
>
> I tried top open the file using Julia> Open("Filename.jl") and got the 
> following error:
>
> *No such file or directory in open at iostream.jl:90  **in open at 
> **iostream.jl:99*
>
> My sense is that I dont have the file in the right directory, but this is 
> where I get over my skis.
>
> Is that the issue?  How do I make Julia find the file?  Sorry or such 
> basic questions 
>
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
What is the machine/OS you are using? Is it yours, a school's? 


On Friday, August 19, 2016 at 10:04:20 AM UTC-4, Jeffrey Sarnoff wrote:
>
> Please show me
> julia> versioninfo()
>
>
> On Friday, August 19, 2016 at 10:02:36 AM UTC-4, Pigskin Ablanket wrote:
>>
>> I get the same error:  
>> Julia>run(`pwd`)   what I tried to execute
>> ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
>> _jl_spawn at process.jl:262
>>
>> I am attaching a screen shot
>>
>> On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>>>
>>> what do you see with this (in Julia, note the backtics are not single 
>>> quotes)
>>> julia> run(`pwd`)
>>>
>>> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:

 Ok - This makes sense to me...but:

 When I proceeded with julia>;pwd this is the response I got: Error: 
 could not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
 process.jl:262

 No idea what that means :(

 Once again - feel like my questions are probably introductory, and I 
 appreciate your time.

 The actual name of the code I am trying to open is titled 
 "Code_for_Github.jl"



 On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file is 
> present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <
> pigskin...@gmail.com> wrote:
>
>> Ok, I am trying to familiarize myself with a study published using 
>> Julia.  I have Julia up and running, but cant seep to get the actual 
>> code 
>> open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  Now I 
>> downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a 
>> couple excel CSV files needed.
>>
>> I tried top open the file using Julia> Open("Filename.jl") and got the 
>> following error:
>>
>> *No such file or directory in open at iostream.jl:90  **in open at 
>> **iostream.jl:99*
>>
>> My sense is that I dont have the file in the right directory, but this 
>> is where I get over my skis.
>>
>> Is that the issue?  How do I make Julia find the file?  Sorry or such 
>> basic questions 
>>
>>
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
I get the same error:  
Julia>run(`pwd`)   what I tried to execute
ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in 
_jl_spawn at process.jl:262

I am attaching a screen shot

On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>
> what do you see with this (in Julia, note the backtics are not single 
> quotes)
> julia> run(`pwd`)
>
> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok - This makes sense to me...but:
>>
>> When I proceeded with julia>;pwd this is the response I got: Error: could 
>> not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
>> process.jl:262
>>
>> No idea what that means :(
>>
>> Once again - feel like my questions are probably introductory, and I 
>> appreciate your time.
>>
>> The actual name of the code I am trying to open is titled 
>> "Code_for_Github.jl"
>>
>>
>>
>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>>
>>> Hello there,
>>> I think you need to change to the directory where your file is present.
>>>
>>> You can try to use command line within julia like:
>>> julia > ;pwd #Check your present working directory
>>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>>
>>> OR 
>>> try to give the absolute path of the directory (Assume your file is 
>>> present in home directory on linux)
>>>
>>> julia>open("/home/Filename.jl")
>>>
>>> I hope it helps :)
>>>
>>>
>>> *Yours Sincerely,*
>>> *Ayush Pandey* * *
>>> ayush-iitkgp.github.io/
>>>
>>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket  
>>> wrote:
>>>
 Ok, I am trying to familiarize myself with a study published using 
 Julia.  I have Julia up and running, but cant seep to get the actual code 
 open.

 Here is what I done so far:

 julia> Pkg.add("JuMP")
 julia> Pkg.add("DataFrames")
 julia> Pkg.add("GLPKMathProgInterface")

 I believe I successfully added the requisite programs.  all good.  Now I 
 downloaded the code via CSV.  

 It contains the Code in a .jl file, license file, readme file and a couple 
 excel CSV files needed.

 I tried top open the file using Julia> Open("Filename.jl") and got the 
 following error:

 *No such file or directory in open at iostream.jl:90  **in open at 
 **iostream.jl:99*

 My sense is that I dont have the file in the right directory, but this is 
 where I get over my skis.

 Is that the issue?  How do I make Julia find the file?  Sorry or such 
 basic questions 


>>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Jeffrey Sarnoff
what do you see with this (in Julia, note the backtics are not single 
quotes)
julia> run(`pwd`)

On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>
> Ok - This makes sense to me...but:
>
> When I proceeded with julia>;pwd this is the response I got: Error: could 
> not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
> process.jl:262
>
> No idea what that means :(
>
> Once again - feel like my questions are probably introductory, and I 
> appreciate your time.
>
> The actual name of the code I am trying to open is titled 
> "Code_for_Github.jl"
>
>
>
> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>
>> Hello there,
>> I think you need to change to the directory where your file is present.
>>
>> You can try to use command line within julia like:
>> julia > ;pwd #Check your present working directory
>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>
>> OR 
>> try to give the absolute path of the directory (Assume your file is 
>> present in home directory on linux)
>>
>> julia>open("/home/Filename.jl")
>>
>> I hope it helps :)
>>
>>
>> *Yours Sincerely,*
>> *Ayush Pandey* * *
>> ayush-iitkgp.github.io/
>>
>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket  
>> wrote:
>>
>>> Ok, I am trying to familiarize myself with a study published using 
>>> Julia.  I have Julia up and running, but cant seep to get the actual code 
>>> open.
>>>
>>> Here is what I done so far:
>>>
>>> julia> Pkg.add("JuMP")
>>> julia> Pkg.add("DataFrames")
>>> julia> Pkg.add("GLPKMathProgInterface")
>>>
>>> I believe I successfully added the requisite programs.  all good.  Now I 
>>> downloaded the code via CSV.  
>>>
>>> It contains the Code in a .jl file, license file, readme file and a couple 
>>> excel CSV files needed.
>>>
>>> I tried top open the file using Julia> Open("Filename.jl") and got the 
>>> following error:
>>>
>>> *No such file or directory in open at iostream.jl:90  **in open at 
>>> **iostream.jl:99*
>>>
>>> My sense is that I dont have the file in the right directory, but this is 
>>> where I get over my skis.
>>>
>>> Is that the issue?  How do I make Julia find the file?  Sorry or such basic 
>>> questions 
>>>
>>>
>>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Ok - This makes sense to me...but:

When I proceeded with julia>;pwd this is the response I got: Error: could 
not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at 
process.jl:262

No idea what that means :(

Once again - feel like my questions are probably introductory, and I 
appreciate your time.

The actual name of the code I am trying to open is titled 
"Code_for_Github.jl"



On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>
> Hello there,
> I think you need to change to the directory where your file is present.
>
> You can try to use command line within julia like:
> julia > ;pwd #Check your present working directory
> julia> ;cd /path_to_the_directory_where_your_file_is_present
>
> OR 
> try to give the absolute path of the directory (Assume your file is 
> present in home directory on linux)
>
> julia>open("/home/Filename.jl")
>
> I hope it helps :)
>
>
> *Yours Sincerely,*
> *Ayush Pandey* * *
> ayush-iitkgp.github.io/
>
> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket  > wrote:
>
>> Ok, I am trying to familiarize myself with a study published using 
>> Julia.  I have Julia up and running, but cant seep to get the actual code 
>> open.
>>
>> Here is what I done so far:
>>
>> julia> Pkg.add("JuMP")
>> julia> Pkg.add("DataFrames")
>> julia> Pkg.add("GLPKMathProgInterface")
>>
>> I believe I successfully added the requisite programs.  all good.  Now I 
>> downloaded the code via CSV.  
>>
>> It contains the Code in a .jl file, license file, readme file and a couple 
>> excel CSV files needed.
>>
>> I tried top open the file using Julia> Open("Filename.jl") and got the 
>> following error:
>>
>> *No such file or directory in open at iostream.jl:90  **in open at 
>> **iostream.jl:99*
>>
>> My sense is that I dont have the file in the right directory, but this is 
>> where I get over my skis.
>>
>> Is that the issue?  How do I make Julia find the file?  Sorry or such basic 
>> questions 
>>
>>
>

Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Ayush Pandey
Hello there,
I think you need to change to the directory where your file is present.

You can try to use command line within julia like:
julia > ;pwd #Check your present working directory
julia> ;cd /path_to_the_directory_where_your_file_is_present

OR
try to give the absolute path of the directory (Assume your file is present
in home directory on linux)

julia>open("/home/Filename.jl")

I hope it helps :)


*Yours Sincerely,*
*Ayush Pandey* * *
ayush-iitkgp.github.io/

On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket  wrote:

> Ok, I am trying to familiarize myself with a study published using Julia.
> I have Julia up and running, but cant seep to get the actual code open.
>
> Here is what I done so far:
>
> julia> Pkg.add("JuMP")
> julia> Pkg.add("DataFrames")
> julia> Pkg.add("GLPKMathProgInterface")
>
> I believe I successfully added the requisite programs.  all good.  Now I 
> downloaded the code via CSV.
>
> It contains the Code in a .jl file, license file, readme file and a couple 
> excel CSV files needed.
>
> I tried top open the file using Julia> Open("Filename.jl") and got the 
> following error:
>
> *No such file or directory in open at iostream.jl:90  **in open at 
> **iostream.jl:99*
>
> My sense is that I dont have the file in the right directory, but this is 
> where I get over my skis.
>
> Is that the issue?  How do I make Julia find the file?  Sorry or such basic 
> questions 
>
>


Re: [julia-users] New to Julia - Need some basic help

2016-08-19 Thread Michele Zaffalon
What code did you download?

On Fri, Aug 19, 2016 at 10:24 AM, Pigskin Ablanket <
pigskinablan...@gmail.com> wrote:

> Ok, I am trying to familiarize myself with a study published using Julia.
> I have Julia up and running, but cant seep to get the actual code open.
>
> Here is what I done so far:
>
> julia> Pkg.add("JuMP")
> julia> Pkg.add("DataFrames")
> julia> Pkg.add("GLPKMathProgInterface")
>
> I believe I successfully added the requisite programs.  all good.  Now I 
> downloaded the code via CSV.
>
> It contains the Code in a .jl file, license file, readme file and a couple 
> excel CSV files needed.
>
> I tried top open the file using Julia> Open("Filename.jl") and got the 
> following error:
>
> *No such file or directory in open at iostream.jl:90  **in open at 
> **iostream.jl:99*
>
> My sense is that I dont have the file in the right directory, but this is 
> where I get over my skis.
>
> Is that the issue?  How do I make Julia find the file?  Sorry or such basic 
> questions 
>
>


[julia-users] New to Julia - Need some basic help

2016-08-19 Thread Pigskin Ablanket
Ok, I am trying to familiarize myself with a study published using Julia. 
 I have Julia up and running, but cant seep to get the actual code open.

Here is what I done so far:

julia> Pkg.add("JuMP")
julia> Pkg.add("DataFrames")
julia> Pkg.add("GLPKMathProgInterface")

I believe I successfully added the requisite programs.  all good.  Now I 
downloaded the code via CSV.  

It contains the Code in a .jl file, license file, readme file and a couple 
excel CSV files needed.

I tried top open the file using Julia> Open("Filename.jl") and got the 
following error:

*No such file or directory in open at iostream.jl:90  **in open at 
**iostream.jl:99*

My sense is that I dont have the file in the right directory, but this is where 
I get over my skis.

Is that the issue?  How do I make Julia find the file?  Sorry or such basic 
questions