Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated noteworthy-differences document. #6221

Merged
merged 1 commit into from
Feb 19, 2015
Merged

Updated noteworthy-differences document. #6221

merged 1 commit into from
Feb 19, 2015

Conversation

unsignedzero
Copy link
Contributor

Updated the noteworthy-differences document:
80 characters or less in each line.
R does allow you to use = so that's removed.
Important/annoying differences for R noted.
Added new differences for Python.

@elextr
Copy link

elextr commented Mar 20, 2014

The mention of the = is so readers know what to use in Julia instead of the R assignment. This seems useful, why remove it?

@andreasnoack
Copy link
Member

I comment about the svd is not correct anymore. For a while, the default in Julia has been thin svd, so I you could remove that line in this pull request it would be great.

``lapply(<structure>, function, arg2, ...)`` in R.
- Julia uses ``end`` to denote the end of conditional blocks, like ``if``,
loop blocks, like ``while``/``for``, and functions. This makes
``if ( cond ) statement`` impossible to do.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do

cond && statement
# and
if cond; statement; end

@unsignedzero
Copy link
Contributor Author

Added new commit based on your feedback.

@elextr Both languages provide that so I thought it woudln't be needed. Added back in.
@andreasnoackjensen Fixed.
@ivarne Updated.
@IainNZ Very true. Changed.

`Distributions package <https://github.com/JuliaStats/Distributions.jl>`_
- The `DataFrames package <https://github.com/HarlanH/DataFrames.jl>`_
provides data frames.
- Formulas for GLM's must be escaped: use ``:(y ~ x)`` instead of ``y ~ x``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnmyleswhite Is this still correct in light of #4882?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is going to be false once 0.3 comes out.

@johnmyleswhite
Copy link
Member

Thanks for doing this. Just a few comments.

@unsignedzero
Copy link
Contributor Author

@johnmyleswhite Hopefully these changes work correctly. If not I'll edit once more and get this up.
Will there be a section for C at some point?

follows the name of a specific variable, unlike R, for which ... can occur
in isolation.
- Modulus in Julia is %, not %%.
- Julia does not have the option of slicing with a logical index vector.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[1:3][[true, false, true]] and even "abc"[[true, false, true]] work. What do you have in mind?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed from commit.

@StefanKarpinski
Copy link
Member

bump? the fact that this change mixes formatting with content makes it really hard to review.

@MikeInnes
Copy link
Member

@StefanKarpinski Have you tried the rendered diff? I find it much clearer for doc changes.

@ViralBShah
Copy link
Member

Bump. Good to merge?

@unsignedzero
Copy link
Contributor Author

Are there any other problems left I should fix? Haven't seen this merged in.

@jiahao
Copy link
Member

jiahao commented May 29, 2014

This needs to be rebased and the comment about needing to escape ~ should be updated for 0.2 only.

@unsignedzero
Copy link
Contributor Author

Rebased and merged my commits.

@jiahao
Copy link
Member

jiahao commented Aug 6, 2014

lgtm

@JeffBezanson
Copy link
Member

Is github showing the wrong diff somehow, or have many of the reviewer comments not been addressed yet?

@jiahao
Copy link
Member

jiahao commented Aug 6, 2014

Huh, where did all the other changes go?

@unsignedzero
Copy link
Contributor Author

@JeffBezanson I don't see issues on my end or did the rebase and merge not work right?

For reference I followed this: https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request

@nolta
Copy link
Member

nolta commented Sep 21, 2014

@unsignedzero Your rebase didn't come through for some reason. Could you try again?

Also, it'd be nice to have a more descriptive commit message than "Merged notes with master branch. Applied changes from jiahao."

@jiahao jiahao force-pushed the master branch 3 times, most recently from 6c7c7e3 to 1a4c02f Compare October 11, 2014 22:06
@jiahao jiahao merged commit 66b72bf into JuliaLang:master Feb 19, 2015
@jiahao
Copy link
Member

jiahao commented Feb 19, 2015

I don't know what happened to the most recent batch of changes from September, but I've gone through and fixed this PR manually, adding in unaddressed comments and basically rewrote the file for clarity and consistency.

@jiahao jiahao added the docs This change adds or pertains to documentation label Feb 19, 2015
jiahao added a commit that referenced this pull request Feb 19, 2015
Also fix sublist whitespace errors.

Ref: #6221
@unsignedzero
Copy link
Contributor Author

I presume at this point the merge is completed and all is well then?

@tkelman
Copy link
Contributor

tkelman commented May 12, 2015

Documentation's never done, but these contributions were merged in afaict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.